From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [RFC][PATCH 1/6] mm: slab allocation fairness From: Peter Zijlstra In-Reply-To: References: <20061130101451.495412000@chello.nl> > <20061130101921.113055000@chello.nl> > <1164912915.6588.153.camel@twins> Content-Type: text/plain Date: Thu, 30 Nov 2006 20:33:38 +0100 Message-Id: <1164915218.6588.163.camel@twins> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: netdev@vger.kernel.org, linux-mm@kvack.org, David Miller List-ID: On Thu, 2006-11-30 at 11:33 -0800, Christoph Lameter wrote: > On Thu, 30 Nov 2006, Peter Zijlstra wrote: > > > No, the forced allocation is to test the allocation hardness at that > > point in time. I could not think of another way to test that than to > > actually to an allocation. > > Typically we do this by checking the number of free pages in a zone > compared to the high low limits. See mmzone.h. True, I did think about that and started out that way but saw myself duplicating a lot of the page allocation code. I'll give it another try... see if I can factor out the common parts without too much duplication. -- 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: email@kvack.org