Re: [PATCH] workqueue: Allocate the unbound pool using local node memory

From: Tejun Heo
Date: Mon Oct 12 2015 - 12:21:02 EST


On Fri, Oct 09, 2015 at 11:53:12AM +0800, Xunlei Pang wrote:
> From: Xunlei Pang <pang.xunlei@xxxxxxxxxx>
>
> Currently, get_unbound_pool() uses kzalloc() to allocate the
> worker pool. Actually, we can use the right node to do the
> allocation, achieving local memory access.
>
> This patch selects target node first, and uses kzalloc_node()
> instead.
>
> Signed-off-by: Xunlei Pang <pang.xunlei@xxxxxxxxxx>

Applied to wq/for-4.4.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/