On Thu, Aug 17, 2006 at 05:43:16PM +0400, Kirill Korotaev wrote: > >On Wed, Aug 16, 2006 at 07:44:30PM +0400, Kirill Korotaev wrote: > > > >>Add proc interface (/proc/user_beancounters) allowing to see current > >>state (usage/limits/fails for each UB). Implemented via seq files. > > > > > >Ugh, why /proc? This doesn't have anything to do with processes, just > >users, right? What's wrong with /sys/kernel/ instead? > We can move it, if there are much objections.
I am objecting. /proc is for processes so do not add any new files there that do not deal with processes. > >Or /sys/kernel/debug/user_beancounters/ in debugfs as this is just a > >debugging thing, right? > debugfs is usually OFF imho. No, distros enable it. > you don't export meminfo information in debugfs, correct? That is because the meminfo is tied to processes, or was added to proc before debugfs came about. Then how about just /sys/kernel/ instead and use sysfs? Just remember, one value per file please. thanks, greg k-h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech