[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.00.0801021143280.32517@woody.linux-foundation.org>
Date: Wed, 2 Jan 2008 11:45:56 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Pekka Enberg <penberg@...helsinki.fi>
cc: Hugh Dickins <hugh@...itas.com>, Ingo Molnar <mingo@...e.hu>,
Andi Kleen <andi@...stfloor.org>,
Christoph Lameter <clameter@....com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists