lkml.org 
[lkml]   [2008]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Markers : fix reentrancy

* Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:

> Lai Jiangshan <laijs@cn.fujitsu.com> wrote :
> > marker_synchronize_unregister must be called _also_ between unregistration
> > and destruction the data that unregistration-ed probes need to make sure
> > there is no caller executing a probe when it's data is destroyed.
> >
>
> Ah, you're right. I looked again through your patch description and I
> think using a :
>
>
> if (entry->rcu_pending)
> rcu_barrier_sched();
>
> After each time the markers_mutex is taken would keep the fast batch
> registration/unregistration and fix the reentrancy problem. The
> following patch should address the problem.

could you please send a delta patch against tip/master? Lai's patch is
already applied and is tested. Thanks,

Ingo


\
 
 \ /
  Last update: 2008-09-30 09:13    [W:0.044 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site