From: Andi Kleen Subject: Re: Memory policy question for NUMA arch.... Date: Sat, 17 Apr 2010 21:30:52 +0200 Message-ID: <20100417193052.GD18855@one.firstfloor.org> References: <20100417063523.GC18855@one.firstfloor.org> <398794.47398.qm@web111920.mail.gq1.yahoo.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <398794.47398.qm@web111920.mail.gq1.yahoo.com> Sender: linux-numa-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Chetan Loke Cc: Andi Kleen , rick.sherm@yahoo.com, linux-numa@vger.kernel.org, linux-kernel@vger.kernel.org, generationugnu@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.