]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12fa53e3e002c3eac619743c3ffec54f7dc1b472
treec59bf9066f6f4bc290e5330823dbd87429b09e28
parentd94e043ef0d934cc6e77bd644e4a4b0f338514d6
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