Re: [RFC][PATCH 7/7] UBC: proc interface
From: Kirill Korotaev
Date: Thu Aug 17 2006 - 09:39:10 EST
On Wed, Aug 16, 2006 at 07:44:30PM +0400, Kirill Korotaev wrote:We can move it, if there are much objections.
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?
It is just here for more than 3 years (AFAIK starting from Alan's UBC)
and would be nice to have for compatibility (at least with existing OpenVZ).
But if it is required -- will do.
Or /sys/kernel/debug/user_beancounters/ in debugfs as this is just adebugfs is usually OFF imho. you don't export meminfo information in debugfs,
debugging thing, right?
correct? user usages are the same imho...
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/