]> git.baikalelectronics.ru Git - kernel.git/commit
Make taskstats round statistics down to nearest 1k bytes/events
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 20 Sep 2011 00:10:57 +0000 (17:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 20 Sep 2011 00:10:57 +0000 (17:10 -0700)
commite128e3577366f804ee065039c183f7a92345576f
tree0c79541bfd948b06923780d8c651e83b1b6b5822
parent2ca5f7b04d6c1bf4995e8354ce5bc8e674c9196f
Make taskstats round statistics down to nearest 1k bytes/events

Even with just the interface limited to admin, there really is little to
reason to give byte-per-byte counts for taskstats.  So round it down to
something less intrusive.

Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/tsacct.c