diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-09-21 19:41:50 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-09-23 16:42:52 +0200 |
commit | 86f343b50bb9f56cce60fade22da9defff28934c (patch) | |
tree | c2951c5b76afcd56a3d9f4a5d1d40e95528f3bbe /kernel/rcutree.c | |
parent | rcu: Move TINY_RCU quiescent state out of extended quiescent state (diff) | |
download | linux-86f343b50bb9f56cce60fade22da9defff28934c.tar.xz linux-86f343b50bb9f56cce60fade22da9defff28934c.zip |
rcu: Fix CONFIG_RCU_FAST_NO_HZ stall warning message
The print_cpu_stall_fast_no_hz() function attempts to print -1 when
the ->idle_gp_timer is not pending, but unsigned arithmetic causes it
to instead print ULONG_MAX, which is 4294967295 on 32-bit systems and
18446744073709551615 on 64-bit systems. Neither of these are the most
reader-friendly values, so this commit instead causes "timer not pending"
to be printed when ->idle_gp_timer is not pending.
Reported-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.c')
0 files changed, 0 insertions, 0 deletions