Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:27:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_workqueue_attrs

Proto:static void copy_workqueue_attrs(struct workqueue_attrs *to, const struct workqueue_attrs *from)

Type:void

Parameter:

TypeParameterName
struct workqueue_attrs *to
const struct workqueue_attrs *from
3369  @nice: nice level = @nice: nice level
3370  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
3376  @no_numa: disable NUMA affinity* Unlike other fields, ``no_numa`` isn't a property of a worker_pool. It* only modifies how :c:func:`apply_workqueue_attrs` select pools and thus* doesn't participate in pool hash calculations or equality comparisons. = @no_numa: disable NUMA affinity* Unlike other fields, ``no_numa`` isn't a property of a worker_pool. It* only modifies how :c:func:`apply_workqueue_attrs` select pools and thus* doesn't participate in pool hash calculations or equality comparisons.
Caller
NameDescribe
get_unbound_poolget_unbound_pool - get a worker_pool with the specified attributes*@attrs: the attributes of the worker_pool to get* Obtain a worker_pool which has the same attributes as @attrs, bump the* reference count and return it
apply_wqattrs_prepareallocate the attrs and pwqs for later installation
apply_wqattrs_commitset attrs and install prepared pwqs, @ctx points to old pwqs on return
wq_update_unbound_numawq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug*@wq: the target workqueue*@cpu: the CPU coming up or going down*@online: whether @cpu is coming up or going down* This function is to be called from %CPU_DOWN_PREPARE, %CPU_ONLINE