commit | e50aba9aea63b7617887b4d9694184f478731c82 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Apr 01 11:23:35 2013 -0700 |
committer | Tejun Heo <tj@kernel.org> | Mon Apr 01 11:23:35 2013 -0700 |
tree | 68649f81762c3088c535d3bdb4743c2d96f6c7eb | |
parent | f147f29eb7c4959e5f8be604ce2d23979c86378c [diff] |
workqueue: use NUMA-aware allocation for pool_workqueues Use kmem_cache_alloc_node() with @pool->node instead of kmem_cache_zalloc() when allocating a pool_workqueue so that it's allocated on the same node as the associated worker_pool. As there's no no kmem_cache_zalloc_node(), move zeroing to init_pwq(). This was suggested by Lai Jiangshan. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>