public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
To: Paul Jackson <pj@sgi.com>
Cc: Christoph Lameter <clameter@sgi.com>,
	rientjes@google.com, linux-kernel@vger.kernel.org, ak@suse.de,
	Michael Kerrisk <mtk-manpages@gmx.net>
Subject: Re: [RFC] cpuset relative memory policies - second choice
Date: Thu, 01 Nov 2007 13:38:11 -0400	[thread overview]
Message-ID: <1193938691.5300.93.camel@localhost> (raw)
In-Reply-To: <20071101102616.826d45a1.pj@sgi.com>

On Thu, 2007-11-01 at 10:26 -0700, Paul Jackson wrote:
> Christoph wrote:
> > The library interface can set flags to modify behavior.
> 
> A library such as libnuma can set them, yes, but not everyone uses
> libnuma.  Basically everyone uses the standard C library, glibc, which
> has the system call wrappers, but these wrappers should not be setting
> optional flags.
> 
> We're going around in circles here, Christoph.

I think that the syscall man pages can document the behavior mode flag
for folks who want to use the "raw" interface.  I think we already
recommend the use of libnuma APIs.  [If not we can make it so, if folks
agree.]  

So, we default to old behavior in the raw syscall APIs--we MUST, right?
"no breaky user APIs..."--and let new version of the library/ies enable
new behavior when appropriate.  Even a "new syscall", such as the
set_mempolicy2(), et al that you suggested, could be just wrappers over
the existing ones with the behavior mod flag.  Or vice versa.  

Lee




  reply	other threads:[~2007-11-01 17:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-31  6:17 [RFC] cpuset relative memory policies - second choice Paul Jackson
2007-10-31 18:59 ` Christoph Lameter
2007-10-31 20:19   ` Paul Jackson
2007-10-31 21:05     ` Christoph Lameter
2007-11-01  4:47       ` Paul Jackson
2007-11-01  5:25         ` Christoph Lameter
2007-11-01  6:33           ` Paul Jackson
2007-11-01  8:03             ` David Rientjes
2007-11-01 13:07             ` Christoph Lameter
2007-11-01 16:06               ` Paul Jackson
2007-11-01 17:07                 ` Christoph Lameter
2007-11-01 17:26                   ` Paul Jackson
2007-11-01 17:38                     ` Lee Schermerhorn [this message]
2007-11-01 17:44                     ` Christoph Lameter
2007-11-01 19:06                     ` David Rientjes
2007-11-01 19:03                 ` David Rientjes
2007-11-01 19:00         ` David Rientjes
2007-11-01 18:52     ` 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=1193938691.5300.93.camel@localhost \
    --to=lee.schermerhorn@hp.com \
    --cc=ak@suse.de \
    --cc=clameter@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtk-manpages@gmx.net \
    --cc=pj@sgi.com \
    --cc=rientjes@google.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