On Fri, Oct 09, 2015 at 11:53:12AM +0800, Xunlei Pang wrote:
> From: Xunlei Pang
>
> 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, an
Hello,
"Hillf Danton" wrote 2015-10-09 PM 06:05:20:
>
> Re: [PATCH] workqueue: Allocate the unbound pool using local node memory
>
> > From: Xunlei Pang
> >
> > Currently, get_unbound_pool() uses kzalloc() to allocate the
> > worker pool. Ac
> From: Xunlei Pang
>
> 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 P
From: Xunlei Pang
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
---
kernel/wor
4 matches
Mail list logo