From: Dhaval Giani Date: Fri, 29 Feb 2008 04:32:44 +0000 (+0530) Subject: sched: allow cpuacct stats to be reset X-Git-Tag: v2.6.26-rc1~1132^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0297b80339d545045490716fa8591b215fdd9458;p=pandora-kernel.git sched: allow cpuacct stats to be reset Currently the schedstats implementation does not allow the statistics to be reset. This patch aims to allow that. echo 0 > cpuacct.usage resets the usage. Any other value is not allowed and returns -EINVAL. Signed-off-by: Dhaval Giani Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed