rcu/nocb: Add CPU number to CPU-{,de}offload failure messages
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 3 Aug 2022 00:39:28 +0000 (17:39 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:07:19 +0000 (05:07 -0700)
commit638dce227a41534bbc4fdd73280e73e0b3570048
tree61adbb4c01518203f9748e29b1d9d23363657814
parent5334da2af25eceb6a88ae162e69d6586b5cb9abc
rcu/nocb: Add CPU number to CPU-{,de}offload failure messages

Offline CPUs cannot be offloaded or deoffloaded.  Any attempt to offload
or deoffload an offline CPU causes a message to be printed on the console,
which is good, but this message does not contain the CPU number, which
is bad.  Such a CPU number can be helpful when debugging, as it gives a
clear indication that the CPU in question is in fact offline.  This commit
therefore adds the CPU number to the CPU-{,de}offload failure messages.

Cc: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_nocb.h