Re: [PATCH] markers: fix unregister bug and reenter bug

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mathieu Desnoyers
Date: Monday, September 29, 2008 - 8:38 pm

* Lai Jiangshan (laijs@cn.fujitsu.com) wrote:

Hum, yes it does separate unregistration and synchronization in two
steps for a very precise purpose : I don't want unregistration of 100
markers to take ~30 seconds on a heavily loaded machine.


free(old) is only done in call_rcu. the rcu callback is forced by a
rcu_barrier() if two consecutive operations are done on the same
marker.


I don't see any reentrancy bug here. Have you actually experienced such
an issue ? Can you give me an example of a bogus execution trace
(step-by-step operations) ?

Thanks,

Mathieu


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] markers: fix unregister bug and reenter bug, Lai Jiangshan, (Mon Sep 29, 1:00 am)
Re: [PATCH] markers: fix unregister bug and reenter bug, Mathieu Desnoyers, (Mon Sep 29, 8:03 am)
Re: [PATCH] markers: fix unregister bug and reenter bug, Mathieu Desnoyers, (Mon Sep 29, 8:03 am)
[PATCH] Markers : marker_synchronize_unregister(), Mathieu Desnoyers, (Mon Sep 29, 8:05 am)
[PATCH] RCU read sched, Mathieu Desnoyers, (Mon Sep 29, 8:06 am)
Re: [PATCH] Markers use rcu_read_lock_sched(), Mathieu Desnoyers, (Mon Sep 29, 8:08 am)
[PATCH] Markers : probe example fix teardown, Mathieu Desnoyers, (Mon Sep 29, 8:09 am)
[PATCH] Markers : documentation fix teardown, Mathieu Desnoyers, (Mon Sep 29, 8:10 am)
[PATCH] sputrace : use marker_synchronize_unregister(), Mathieu Desnoyers, (Mon Sep 29, 8:11 am)
Re: [PATCH] sputrace : use marker_synchronize_unregister(), Christoph Hellwig, (Mon Sep 29, 8:13 am)
Re: [PATCH] markers: fix unregister bug and reenter bug, Lai Jiangshan, (Mon Sep 29, 6:40 pm)
Re: [PATCH] Markers : marker_synchronize_unregister(), Lai Jiangshan, (Mon Sep 29, 6:47 pm)
Re: [PATCH] markers: fix unregister bug and reenter bug, Mathieu Desnoyers, (Mon Sep 29, 8:38 pm)
Re: [PATCH] RCU read sched, Ingo Molnar, (Tue Sep 30, 3:08 am)
Re: [PATCH] Markers use rcu_read_lock_sched(), Ingo Molnar, (Tue Sep 30, 3:13 am)
Re: [PATCH] RCU read sched, Paul E. McKenney, (Tue Sep 30, 6:10 am)
Re: [PATCH] RCU read sched, Paul E. McKenney, (Tue Sep 30, 6:10 am)