linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Christoph Lameter <clameter@engr.sgi.com>
Cc: Adam Litke <agl@us.ibm.com>,
	linux-mm@kvack.org, ak@suse.de, linux-kernel@vger.kernel.org,
	kenneth.w.chen@intel.com
Subject: Re: [RFC] NUMA memory policy support for HUGE pages
Date: Tue, 15 Nov 2005 04:18:22 -0800	[thread overview]
Message-ID: <20051115121822.GB6916@holomorphy.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0511141523100.4676@schroedinger.engr.sgi.com>

On Mon, 14 Nov 2005, Adam Litke wrote:
>> IMHO this is not really a cleanup.  When the demand fault patch stack
>> was first accepted, we decided to separate out find_or_alloc_huge_page()
>> because it has the page_cache retry loop with several exit conditions.
>> no_page() has its own backout logic and mixing the two makes for a
>> tangled mess.  Can we leave that hunk out please?

On Mon, Nov 14, 2005 at 03:25:00PM -0800, Christoph Lameter wrote:
> It seemed to me that find_or_alloc_huge_pages has a pretty simple backout 
> logic that folds nicely into no_page(). Both functions share a lot of 
> variables and putting them together not only increases the readability of 
> the code but also makes the function smaller and execution more efficient.

Looks like this is on the road to inclusion and so on. I'm not picky
about either approach wrt. nopage/etc. and find_or_alloc_huge_page()
affairs. Just get a consensus together and send it in.

Thanks.


-- wli

--
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:[~2005-11-15 12:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-11 18:56 Christoph Lameter
2005-11-11 20:28 ` Christoph Lameter
2005-11-14 15:06   ` Adam Litke
2005-11-14 18:09     ` Christoph Lameter
2005-11-14 21:46     ` Christoph Lameter
2005-11-14 22:30       ` Adam Litke
2005-11-14 23:25         ` Christoph Lameter
2005-11-15 12:18           ` William Lee Irwin III [this message]
2005-11-11 21:23 ` William Lee Irwin III

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=20051115121822.GB6916@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=agl@us.ibm.com \
    --cc=ak@suse.de \
    --cc=clameter@engr.sgi.com \
    --cc=kenneth.w.chen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --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