Re: [PATCH 04/10] mm: slub: add knowledge of reserve pages

Pekka J Enberg
2007-08-20T09:12:42Z

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?