diff options
author | Tejun Heo <tj@kernel.org> | 2013-04-01 20:23:35 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-04-01 20:23:35 +0200 |
commit | 1befcf3073fa083e7dc48c384ce06f3bd900f514 (patch) | |
tree | d5ca2582430566d6f5577abbe19360afebba8ecc /ipc | |
parent | workqueue: use NUMA-aware allocation for pool_workqueues (diff) | |
download | linux-1befcf3073fa083e7dc48c384ce06f3bd900f514.tar.xz linux-1befcf3073fa083e7dc48c384ce06f3bd900f514.zip |
workqueue: introduce numa_pwq_tbl_install()
Factor out pool_workqueue linking and installation into numa_pwq_tbl[]
from apply_workqueue_attrs() into numa_pwq_tbl_install(). link_pwq()
is made safe to call multiple times. numa_pwq_tbl_install() links the
pwq, installs it into numa_pwq_tbl[] at the specified node and returns
the old entry.
@last_pwq is removed from link_pwq() as the return value of the new
function can be used instead.
This is to prepare for NUMA affinity support for unbound workqueues.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions