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)
commit58c3c3aa01b455ecb99d61ce73f1444274af696b
tree0c79541bfd948b06923780d8c651e83b1b6b5822
parent1a51410abe7d0ee4b1d112780f46df87d3621043
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