]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
markers: use rcu_barrier_sched() and call_rcu_sched()
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 25 Jul 2008 08:48:38 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:45 +0000 (10:53 -0700)
commit28325df0d9339b7f3aba9c45174d4586223ef46b
treeca5fcbc3b2bd63ee94b2ce2fe80752ea2d9c884f
parent24879a8e3e68f146d4d85528cc0b5dea712b77c5
markers: use rcu_barrier_sched() and call_rcu_sched()

rcu_barrier_sched() and call_rcu_sched() were introduced in 2.6.26 for the
Markers.  Change the marker code to use them.

It can be seen as a fix since the marker code was using an ugly,
temporary, #ifdef hack to work around CONFIG_PREEMPT_RCU.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Paul McKenney <paulmck@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/marker.c