markers: fix unregister bug and reenter bug, cleanup
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 29 Sep 2008 15:08:03 +0000 (11:08 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:28 +0000 (10:38 +0200)
commite2d3b75dbc486253c910722486ac64087f96c59f
treec59bf9066f6f4bc290e5330823dbd87429b09e28
parente98d0eabef2748d88fa58760d104e8e68517406b
markers: fix unregister bug and reenter bug, cleanup

Use the new rcu_read_lock_sched/unlock_sched() in marker code around the call
site instead of preempt_disable/enable(). It helps reviewing the code more
easily.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/marker.c