rcu: Print negatives for stall-warning counter wraparound
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 6 Mar 2014 19:09:10 +0000 (11:09 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 29 Apr 2014 15:43:26 +0000 (08:43 -0700)
commit83ebe63ead0fe60e4b548730800cb68293ce098b
tree5194dfb04b557ebeccd9ed6a912f93d3c543c7df
parent24342c963a7fc04ec8f199778427943509f0bd5e
rcu: Print negatives for stall-warning counter wraparound

The print_other_cpu_stall() and print_cpu_stall() functions print
grace-period numbers using an unsigned format, which means that the number
one less than zero is a very large number.  This commit therefore causes
these numbers to be printed with a signed format in order to improve
readability of the RCU CPU stall-warning output.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcu/tree.c