mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Christoph Lameter <cl@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Pekka Enberg <penberg@cs.helsinki.fi>,
	Matt Mackall <mpm@selenic.com>, Paul Menage <menage@google.com>,
	Randy Dunlap <randy.dunlap@oracle.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [patch -mm] cpusets: add memory_slab_hardwall flag
Date: Mon, 9 Mar 2009 13:13:06 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.2.00.0903091307570.27253@chino.kir.corp.google.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0903091448110.20314@qirst.com>

On Mon, 9 Mar 2009, Christoph Lameter wrote:

> Again these are fastpath modifications.
> 

The nature of the change requires the logic to be placed in the fastpath 
to determine whether a cpu slab's node is allowed by the allocating task's 
cpuset.

You have previously stated that you would prefer that this feature be 
tunable from userspace.  This patch adds the `memory_slab_hardwall' cpuset 
flag which defaults to off.

> Scanning the partial list for matching nodes is an expensive operation.
> 

It depends on how long you scan for a matching node, but again: this 
should be assumed by the user if the option has been enabled.

> Adding RCU into the fast paths is also another big worry.
> 

This could be mitigated by adding a PF_SLAB_HARDWALL flag similiar to 
PF_SPREAD_PAGE and PF_SPREAD_SLAB.  I'd prefer not to add additional 
cpuset-specific task flags, but this would address your concern.

  reply	other threads:[~2009-03-09 20:13 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08 16:27 David Rientjes
2009-03-08 16:53 ` Paul Menage
2009-03-08 21:38   ` David Rientjes
2009-03-09  7:08     ` Paul Menage
2009-03-09  9:18       ` David Rientjes
2009-03-08 17:01 ` Matt Mackall
2009-03-08 21:51   ` David Rientjes
2009-03-09  4:49 ` KOSAKI Motohiro
2009-03-09  9:12   ` David Rientjes
2009-03-09 10:19     ` KOSAKI Motohiro
2009-03-09 20:26       ` David Rientjes
2009-03-09 21:14         ` Christoph Lameter
2009-03-09 21:31           ` David Rientjes
2009-03-10 20:50             ` Christoph Lameter
2009-03-10 21:08               ` Matt Mackall
2009-03-12 16:08                 ` Christoph Lameter
2009-03-12 17:23                   ` Matt Mackall
2009-03-10 22:12               ` Paul Menage
2009-03-12 15:51                 ` Christoph Lameter
2009-03-09 18:50 ` Christoph Lameter
2009-03-09 20:13   ` David Rientjes [this message]
2009-03-10  1:35     ` KOSAKI Motohiro
2009-03-10  2:01       ` David Rientjes
2009-03-10  4:05         ` Matt Mackall
2009-03-10  4:26           ` David Rientjes
2009-03-12  1:03   ` Paul E. McKenney
2009-03-12  5:51     ` David Rientjes

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.0903091307570.27253@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=mpm@selenic.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®