[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100417193052.GD18855@one.firstfloor.org>
Date: Sat, 17 Apr 2010 21:30:52 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Chetan Loke <generationgnu@...oo.com>
Cc: Andi Kleen <andi@...stfloor.org>, rick.sherm@...oo.com,
linux-numa@...r.kernel.org, linux-kernel@...r.kernel.org,
generationugnu@...oo.com
Subject: Re: Memory policy question for NUMA arch....
> 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@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists