SELinux fixups needed for preemptable RCU from -rt
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 22 Apr 2008 01:12:33 +0000 (18:12 -0700)
committerJames Morris <jmorris@namei.org>
Tue, 22 Apr 2008 05:37:23 +0000 (15:37 +1000)
The attached patch needs to move from -rt to mainline given preemptable RCU.
This patch fixes SELinux code that implicitly assumes that disabling
preemption prevents an RCU grace period from completing, an assumption that
is valid for Classic RCU, but not necessarily for preemptable RCU.  Explicit
rcu_read_lock() calls are thus added.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found