From: David Rientjes <rientjes@google.com>
To: Christoph Lameter <cl@linux-foundation.org>
Cc: Paul Menage <menage@google.com>,
Pekka Enberg <penberg@cs.helsinki.fi>,
Andrew Morton <akpm@linux-foundation.org>,
Randy Dunlap <randy.dunlap@oracle.com>,
linux-kernel@vger.kernel.org
Subject: Re: [patch 2/2] slub: enforce cpuset restrictions for cpu slabs
Date: Wed, 4 Mar 2009 10:06:49 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.00.0903040959530.17033@chino.kir.corp.google.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0903041011520.3850@qirst.com>
On Wed, 4 Mar 2009, Christoph Lameter wrote:
> That would make the per object memory policies in SLUB configurable? If
> you can do that without regression and its clean then it would be
> acceptable.
>
Yes, if `slab_hardwall' is enabled for a cpuset it will attempt to replace
the cpu slab with a partial slab on an allowed node.
> Again if you want per object memory policies in SLUB then it needs to be
> added consistently. You would also f.e. have to check for an MPOL_BIND
> condition where you check for cpuset nodes and make sure that __slab_alloc
> goes round robin on MPOL_INTERLEAVE etc etc. You end up with a similar
> nightmare implementation of that stuff as in SLAB.
I agree that we should avoid adding mempolicy support, especially
MPOL_INTERLEAVE at the object level since that would totally avoid the
fastpath for any task using it.
next prev parent reply other threads:[~2009-03-04 18:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 4:50 [patch 1/2] cpusets: replace zone allowed functions with node allowed David Rientjes
2009-03-03 4:50 ` [patch 2/2] slub: enforce cpuset restrictions for cpu slabs David Rientjes
2009-03-03 16:47 ` Christoph Lameter
2009-03-03 17:19 ` David Rientjes
2009-03-03 18:46 ` Christoph Lameter
2009-03-03 19:05 ` David Rientjes
2009-03-03 20:14 ` Christoph Lameter
2009-03-03 21:35 ` David Rientjes
2009-03-03 21:55 ` Paul Menage
2009-03-03 22:29 ` David Rientjes
2009-03-04 0:53 ` Paul Menage
2009-03-04 1:14 ` David Rientjes
2009-03-04 15:23 ` Christoph Lameter
2009-03-04 18:06 ` David Rientjes [this message]
2009-03-03 16:36 ` [patch 1/2] cpusets: replace zone allowed functions with node allowed Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.00.0903040959530.17033@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=menage@google.com \
--cc=penberg@cs.helsinki.fi \
--cc=randy.dunlap@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®