On Sun, Sep 18, 2011 at 04:11:21PM -0300, Glauber Costa wrote:Well,On 09/18/2011 04:05 PM, Kirill A. Shutemov wrote:On Sun, Sep 18, 2011 at 12:39:12AM -0300, Glauber Costa wrote:I'd personally prefer WARN_ON. It is good symmetry from userspace PoV toAlways zero in root cgroup?
Yes, if we're not accounting, it should be zero. WARN_ON, maybe?
-ENOSYS?
always be able to get a value out of it. Also, it something goes wrong
and it is not zero for some reason, this will help us find it.
What's the point to get non-relevant value?
What about -ENOSYS + WARN_ON?