Files
linux/fs/proc
Martin Schwidefsky 3ec3f83aee fix cputime overflow in uptime_proc_show
commit c3e0ef9a29 upstream.

For 32-bit architectures using standard jiffies the idletime calculation
in uptime_proc_show will quickly overflow. It takes (2^32 / HZ) seconds
of idle-time, or e.g. 12.45 days with no load on a quad-core with HZ=1000.
Switch to 64-bit calculations.

Cc: Michael Abbott <michael.abbott@diamond.ac.uk>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-25 17:24:53 -08:00
..
2011-05-26 17:12:36 -07:00
2011-01-13 08:03:17 -08:00
2009-05-15 15:32:45 +02:00
2007-10-17 08:42:48 -07:00
2011-01-13 17:32:43 -08:00
2011-06-12 17:45:28 -04:00