diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-08-14 17:28:23 (GMT) |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-07 23:18:20 (GMT) |
commit | 73a860cd58a1eb258e889b615cebf738ab33aa23 (patch) | |
tree | 9eacb2ac5f6331f3249778c685da7f26c8ed0488 /kernel/rcu/tiny.c | |
parent | 2aa792e6faf1a00f5accf1f69e87e11a390ba2cd (diff) | |
download | linux-73a860cd58a1eb258e889b615cebf738ab33aa23.tar.xz |
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 <oleg@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tiny.c')
0 files changed, 0 insertions, 0 deletions