]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - kernel/rcutree_plugin.h
rcu: Prevent soft-lockup complaints about no-CBs CPUs
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 20 Dec 2012 17:35:02 +0000 (09:35 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 8 Jan 2013 22:12:18 +0000 (14:12 -0800)
commit353af9c9a866b07492b15a4efd18ec93123d3a1d
treea514865e4134796a7a1b2cf1ae85e5c89e821eee
parentd1c3ed669a2d452cacfb48c2d171a1f364dae2ed
rcu: Prevent soft-lockup complaints about no-CBs CPUs

The wait_event() at the head of the rcu_nocb_kthread() can result in
soft-lockup complaints if the CPU in question does not register RCU
callbacks for an extended period.  This commit therefore changes
the wait_event() to a wait_event_interruptible().

Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree_plugin.h