From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 20 Aug 2007 12:12:30 +0300 (EEST) From: Pekka J Enberg Subject: Re: [PATCH 04/10] mm: slub: add knowledge of reserve pages In-Reply-To: <1187595513.6114.176.camel@twins> Message-ID: References: <20070806102922.907530000@chello.nl> <20070806103658.603735000@chello.nl> <1187595513.6114.176.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, David Miller , Andrew Morton , Daniel Phillips , Christoph Lameter , Matt Mackall , Lee Schermerhorn , Steve Dickson List-ID: Hi Peter, On Mon, 20 Aug 2007, Peter Zijlstra wrote: > -static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node) > +static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node, int *reserve) > { [snip] > + *reserve = page->reserve; Any reason why the callers that are actually interested in this don't do page->reserve on their own? -- 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