linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Chetan Loke <generationgnu@yahoo.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	rick.sherm@yahoo.com, linux-numa@vger.kernel.org,
	linux-kernel@vger.kernel.org, generationugnu@yahoo.com
Subject: Re: Memory policy question for NUMA arch....
Date: Sat, 17 Apr 2010 21:30:52 +0200	[thread overview]
Message-ID: <20100417193052.GD18855@one.firstfloor.org> (raw)
In-Reply-To: <398794.47398.qm@web111920.mail.gq1.yahoo.com>

> PS - What do you think about __get_free_policy_pages(..)? Good/bad idea?

You can do it today by temporarily replacing the policy in current. It's somewhat
ugly. Interrupts don't use the policy, so it's not racy.

But yes if it's common it would seem reasonable to have a cleaner function for it,
if you have a clear use case and you can do it without impacting the page allocator fast path.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

  reply	other threads:[~2010-04-17 19:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <243351.5510.qm@web111910.mail.gq1.yahoo.com>
2010-04-16 23:17 ` Memory policy question for NUMA arch Chetan Loke
2010-04-17  6:35   ` Andi Kleen
2010-04-17 14:59     ` Chetan Loke
2010-04-17 19:30       ` Andi Kleen [this message]
2010-04-19 15:16   ` Lee Schermerhorn
2010-04-20 20:34 Chetan Loke
     [not found] <524835.89860.qm@web114303.mail.gq1.yahoo.com>
2010-04-07  9:00 ` Andi Kleen
2010-04-07 15:48   ` Rick Sherm
2010-04-07 17:27     ` Lee Schermerhorn
  -- strict thread matches above, loose matches on Subject: below --
2010-04-06 19:29 Rick Sherm

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=20100417193052.GD18855@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=generationgnu@yahoo.com \
    --cc=generationugnu@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-numa@vger.kernel.org \
    --cc=rick.sherm@yahoo.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;
as well as URLs for NNTP newsgroup(s).