From: Paul E. McKenney Date: Thu, 14 Aug 2014 17:28:23 +0000 (-0700) Subject: rcu: Replace flush_signals() with WARN_ON(signal_pending()) X-Git-Tag: fixes-against-v3.18-rc2~103^2~1^2~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73a860cd58a1eb258e889b615cebf738ab33aa23;p=pandora-kernel.git rcu: Replace flush_signals() with WARN_ON(signal_pending()) Currently, when RCU awakens from a wait_event_interruptible() that might have awakened prematurely, it does a flush_signals(). This is done on the off-chance that someone figured out how to deliver a signal to a kthread, which is supposed to be impossible. Given that this is supposed to be impossible, this commit changes the flush_signals() calls into WARN_ON(signal_pending()). Reported-by: Oleg Nesterov Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed