From: Mathieu Desnoyers Date: Mon, 29 Sep 2008 15:06:46 +0000 (-0400) Subject: rcu: add rcu_read_lock_sched() / rcu_read_unlock_sched() X-Git-Tag: v2.6.28-rc1~723^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c50b728c3e734150b8a4a8310ce3e01bc5c70be;p=pandora-kernel.git rcu: add rcu_read_lock_sched() / rcu_read_unlock_sched() Add rcu_read_lock_sched() and rcu_read_unlock_sched() to rcupdate.h to match the recently added write-side call_rcu_sched() and rcu_barrier_sched(). They also match the no-so-recently-added synchronize_sched(). It will help following matching use of the update/read lock primitives. Those new read lock will replace preempt_disable()/enable() used in pair with RCU-classic synchronization. Signed-off-by: Mathieu Desnoyers Acked-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed