Re: [RESEND][PATCH] Add /proc/mempool to display mempool usage

From: Randy Dunlap
Date: Mon Dec 01 2008 - 13:13:50 EST


On Sat, 29 Nov 2008 15:49:07 -0800 Greg KH wrote:

> On Sun, Nov 30, 2008 at 12:42:07AM +0300, Alexey Dobriyan wrote:
> > On Sat, Nov 29, 2008 at 06:44:49PM +0100, Remi Colinet wrote:
> > > This patch add a new /proc/mempool file in order to display mempool usage.
> > >
> > > The feature can be disabled with CONFIG_PROC_MEMPOOL=N during kernel
> > > configuration.
> >
> > We're NOT adding config option per proc file.
> >
> > And can we, please, freeze /proc for not per-process stuff and open debugfs
> > for random stuff, please?
>
> debugfs has been open for random stuff since the day it was added to the
> tree :)
>
> Feel free to put this kind of thing there instead of proc.

Do distros ship with debugfs enabled?
The problem with using debugfs is that it is very optional IMO.

---
~Randy
--
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/