linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nishanth Aravamudan <nacc@us.ibm.com>
To: Christoph Lameter <clameter@sgi.com>
Cc: Andy Whitcroft <apw@shadowen.org>,
	Lee.Schermerhorn@hp.com, ak@suse.de, anton@samba.org,
	mel@csn.ul.ie, akpm@linux-foundation.org, linux-mm@kvack.org
Subject: Re: [PATCH v2] gfp.h: GFP_THISNODE can go to other nodes if some are unpopulated
Date: Mon, 11 Jun 2007 13:18:14 -0700	[thread overview]
Message-ID: <20070611201814.GC9920@us.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0706111240470.19654@schroedinger.engr.sgi.com>

On 11.06.2007 [12:43:32 -0700], Christoph Lameter wrote:
> On Mon, 11 Jun 2007, Nishanth Aravamudan wrote:
> 
> > So, I'm splitting up the populated_map patch in two, so that these bits
> > or the hugetlbfs bits could be put on top of having that nodemask.
> 
> Well maybe just do a single populate_map patch first. We can easily review 
> that and get it in. And it will be useful for multiple other patchsets.

Right, sorry, that's what I meant -- I was moving ahead to the other
patches to make sure everything was sensible.

Will send out the populated_map patch ASAP.

> > *but*, if this change occurs in mempolicy.c, I think we still have a
> > problem, where me->il_next could be initialized in do_set_mempolicy() to
> > a memoryless node:
> 
> I thought that one misalloc would not be that problematic (hmmmm... unless 
> its a hugetlb page on smallist NUMA system...)

Right -- it all depends...

> > 	if (new && new->policy == MPOL_INTERLEAVE)
> > 		current->il_next = first_node(new->v.nodes);
> 
> Hmmmm... We could also switch off the nodes in v.nodes? Then we do not
> need any additional checks and the modifications to interleave() are
> not necessary?

Ah true, so that would happen at mpol_new() time. Makes sense.

Thanks,
Nish

--
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>

  reply	other threads:[~2007-06-11 20:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07 15:04 [PATCH] " Nishanth Aravamudan
2007-06-07 18:11 ` Christoph Lameter
2007-06-07 22:01   ` [PATCH v2] " Nishanth Aravamudan
2007-06-07 22:05     ` Christoph Lameter
2007-06-07 22:16       ` Nishanth Aravamudan
2007-06-11 12:49     ` Andy Whitcroft
2007-06-11 16:12       ` Christoph Lameter
2007-06-11 16:42         ` Christoph Lameter
2007-06-11 17:12           ` Nishanth Aravamudan
2007-06-11 18:29             ` Christoph Lameter
2007-06-11 18:46               ` Nishanth Aravamudan
2007-06-11 18:54                 ` Christoph Lameter
2007-06-11 19:36               ` Nishanth Aravamudan
2007-06-11 19:43                 ` Christoph Lameter
2007-06-11 20:18                   ` Nishanth Aravamudan [this message]
2007-06-11 18:23           ` Lee Schermerhorn
2007-06-11 18:40             ` 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=20070611201814.GC9920@us.ibm.com \
    --to=nacc@us.ibm.com \
    --cc=Lee.Schermerhorn@hp.com \
    --cc=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=anton@samba.org \
    --cc=apw@shadowen.org \
    --cc=clameter@sgi.com \
    --cc=linux-mm@kvack.org \
    --cc=mel@csn.ul.ie \
    /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