Re: [PATCH] procfs: provide slub's /proc/slabinfo

Pekka Enberg
2008-01-02T19:49:20Z

Hi Linus,

On Jan 2, 2008 9:35 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> Actually, I'd much rather just do this instead (on top of your patch)
>
> It just creates a new CONFIG_SLABINFO that automatically has the right
> dependencies (ie depends on PROC being on, and either SLAB or SLUB), and
> then both SLAB and SLUB just have the exact same interfaces.
>
> Which means that SLOB could also trivially implement the same thing, with
> no new #ifdef'fery or other crud.
>
> It's totally untested, but looks fairly obvious.

Looks good to me. Thanks! :-)

Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>