Re: Large slab cache in 2.6.1

From: Linus Torvalds
Date: Sun Feb 22 2004 - 12:01:16 EST




On Sat, 21 Feb 2004, Andrew Morton wrote:
>
> yeah. We should have made that change when making shrink_slab() ignore
> highmem scanning.
>
> Something like this (the function needs a rename)

Why not just pass in the list of zones? That way the _caller_ determines
what zones he is interested in.

So just add a "struct zonelist *zonelist" as the argument, the same way
"__alloc_pages()" has..

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/