Commit graph android_kernel_sony_sdm845/fs/proc/loadavg.c
Message SHA1
sched, timers: cleanup avenrun users
avenrun is an rough estimate so we don't have to worry about
consistency of the three avenrun values. Remove the xtime lock
dependency and provide a function to scale the values. Cleanup the
users.

[ Impact: cleanup ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>

Thomas Gleixner   commited 2009-05-15 15:32:45 +02:00
2d02494f5a
proc: switch /proc/loadavg to seq_file
and move it to fs/proc/loadavg.c while I'm at it.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Alexey Dobriyan   commited 2008-10-23 13:45:28 +04:00
5b3acc8de8