From: Tejun Heo Date: Mon, 1 Apr 2013 18:23:35 +0000 (-0700) Subject: workqueue: use NUMA-aware allocation for pool_workqueues X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~125^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e50aba9aea63b7617887b4d9694184f478731c82;p=pandora-kernel.git 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 Reviewed-by: Lai Jiangshan --- Reading git-diff-tree failed