Re: [RFC 0/2] Memoryless nodes and kworker
From: Tejun Heo <tj@kernel.org>
Date: 2014-07-18 11:20:44
Also in:
linux-mm, lkml
From: Tejun Heo <tj@kernel.org>
Date: 2014-07-18 11:20:44
Also in:
linux-mm, lkml
On Thu, Jul 17, 2014 at 04:09:23PM -0700, Nishanth Aravamudan wrote:
[Apologies for the large Cc list, but I believe we have the following interested parties: x86 (recently posted memoryless node support) ia64 (existing memoryless node support) ppc (existing memoryless node support) previous discussion of how to solve Anton's issue with slab usage workqueue contributors/maintainers]
Well, you forgot to cc me. ...
It turns out we see this large slab usage due to using the wrong NUMA
information when creating kthreads.
Two changes are required, one of which is in the workqueue code and one
of which is in the powerpc initialization. Note that ia64 may want to
consider something similar.Wasn't there a thread on this exact subject a few weeks ago? Was that someone else? Memory-less node detail leaking out of allocator proper isn't a good idea. Please allow allocator users to specify the nodes they're on and let the allocator layer deal with mapping that to whatever is appropriate. Please don't push that to everybody. Thanks. -- tejun