Messages in this thread |  | | Date | Fri, 16 Aug 2002 07:39:25 -0700 | From | Greg KH <> | Subject | Re: [PATCH] add buddyinfo /proc entry |
| |
On Fri, Aug 16, 2002 at 01:51:08AM -0700, Dave Hansen wrote: > Greg KH wrote: > > On Thu, Aug 15, 2002 at 07:31:44PM -0700, Dave Hansen wrote: > > > >> Not _another_ proc entry! > > > > Yes, not another one. Why not move these to driverfs, where they > > belong. > > Could you show us how this particular situation might be laid out in a > driverfs/kfs/gregfs tree?
root/vm/buddyinfo ?
Ah, a gregfs, making up the components that describe me...that's going to be a pretty ugly looking fs...
> It's great that you keep suggesting this, but we have another > chicken-and-egg problem. > > <SOAPBOX> > The problem with driverfs today is that it isn't worth it for _me_ to > use it to just get this one, single thing. If I used driverfs right > now, the only thing that I would get out of it would be ... buddyinfo! > How is it worth my while to use it on a shared machine where most > people probably won't be mounting driverfs, or _want_ it mounted as > the default? > </SOAPBOX>
All it takes is one line added to /etc/fstab mounting driverfs at /sys. As the code is not a .config option, you are using it if you mount it or not :) The fact that no one else will look at that mount point, shouldn't matter to you.
And yes, for just one thing (hey, why don't you move _all_ the vm stats over to it), it is worth adding that one line. And you'll eventually have to do it anyway, as these things _will_ be moving there.
Hell, tell me which machine you are using, and I'll go add it.
> > (ignore the driverfs name, it should be called kfs, or some such > > thing, as stuff more than driver info should go there, just like > > these entries.) > > If even its most ardent supporters don't like its name...
I don't have to like the name to like what it does, and is used for, right?
thanks,
greg k-h
> > -- > Dave Hansen > haveblue@us.ibm.com > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |