lockdep: Add CPU-idle/offline warning to lockdep-RCU splat
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 30 Jan 2012 16:46:32 +0000 (08:46 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Feb 2012 17:06:06 +0000 (09:06 -0800)
commitc5fdcec927ee31fc96e92339c3a83ac6e0725289
tree65511a65eb71990d51b46c7a88a35d51f0662e58
parentc0cfbbb0d4fca14b828a7635a59784adfba8989d
lockdep: Add CPU-idle/offline warning to lockdep-RCU splat

It is illegal to use RCU from a CPU that has reported idleness or
offlinedness to RCU.  However, it can be quite difficult to determine
from a stack trace whether or not a given CPU is idle or offline.
Therefore, this commit adds idle/offline diagnostics to the lockdep-RCU
error message.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/lockdep.c