]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31d286a93850101e02079cddd4da5ebdfebbba18
tree65511a65eb71990d51b46c7a88a35d51f0662e58
parent54ec78bd03aa1123ef579af2749e66916aa2f476
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