Messages in this thread | | | Date | Wed, 2 Jan 2008 11:45:56 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [PATCH] procfs: provide slub's /proc/slabinfo |
| |
On Wed, 2 Jan 2008, Linus Torvalds wrote: > > Actually, I'd much rather just do this instead (on top of your patch)
Side note - and I didn't do this - this also allows you to disable slabinfo for those people who think it is pointless.
In particular, you could just make that
> +config SLABINFO > + bool > + depends on PROC_FS > + depends on SLAB || SLUB > + default y
Kconfig entry use something like
bool "Enable /proc/slabinfo support"
(perhaps adding an "if EMBEDDED" at the end), and now people can decide whether they actually want it or not (independently of whether they use SLUB or SLAB or whatever). But I left it hardcoded to on, just because I'm not sure it's worth it.
Linus
| |