From: Paul Jackson <pj@sgi.com>
To: Christoph Lameter <clameter@engr.sgi.com>
Cc: akpm@osdl.org, ak@suse.de, linux-mm@kvack.org
Subject: Re: [PATCH] Use node macros for memory policies
Date: Sat, 24 Sep 2005 13:12:34 -0700 [thread overview]
Message-ID: <20050924131234.427e40ef.pj@sgi.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0509241119490.29070@schroedinger.engr.sgi.com>
Andrew inquired:
> Which typedef weenie inflicted nodemask_t upon us anyway?
I believe it was Matthew Dobson and myself, with forced labor
contributions from several others, as part of a larger effort
to overhaul bitmaps and cpumasks.
Christoph wrote:
> One hunk is missing in Andi's patchset. This covers the cpuset->mempolicy
> interface.
If you had taken a look at the lkml thread where Andi submitted his
patch to convert mempolicy to nodemask, and I reviewed it, we agreed to
send in the remaining couple of pieces after Andi's patch had worked
its way through the system, to avoid wasting the couple of minutes of
Andrews time that it would take him to deal with possible merge
conflicts.
I don't see where your patch deals with the following two lines, at the
point in mm/mempolicy.c where cpuset_restrict_to_mems_allowed is called
(the latest *-mm version with Andi's patch nodemask mempolicy patch):
/* AK: shouldn't this error out instead? */
cpuset_restrict_to_mems_allowed(nodes_addr(*nodes));
I agreed with Andi that this should error out, and I accepted his
suggestion that I fix this, later on.
Surely it is not a good idea to change the type of parameter a function
accepts, without changing the places that call that function.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2005-09-24 20:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-23 18:10 Christoph Lameter
2005-09-23 21:57 ` Andrew Morton
2005-09-24 18:22 ` Christoph Lameter
2005-09-24 20:12 ` Paul Jackson [this message]
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=20050924131234.427e40ef.pj@sgi.com \
--to=pj@sgi.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=clameter@engr.sgi.com \
--cc=linux-mm@kvack.org \
/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