Re: [PATCH] Markers use rcu_read_lock_sched()

From: Ingo Molnar
Date: Tue Sep 30 2008 - 06:14:19 EST



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx> wrote:

> 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.

applied this cleanup on top of the fix from Lai Jiangshan, thanks
Matthieu!

here are the new commits in tip/tracing/markers:

2396ac3: sputrace: use marker_synchronize_unregister()
a16801c: markers: documentation fix for teardown
b05d9cf: markers: probe example, fix teardown
4b0b16f: markers: fix unregister bug and reenter bug, cleanup
1638da5: markers: marker_synchronize_unregister()
b211730: Merge branch 'core/rcu' into tracing/markers
1c50b72: rcu: add rcu_read_lock_sched() / rcu_read_unlock_sched()
d587284: markers: fix unregister bug and reenter bug

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/