Re: Race between RCU and rmmod

2007-05-02 Thread Andrew Morton
On Wed, 2 May 2007 17:30:51 +0530 Dipankar Sarma <[EMAIL PROTECTED]> wrote: > On Wed, May 02, 2007 at 12:50:24PM +0100, David Howells wrote: > > > > Hi Dipankar, Rusty, > > > > I seem to have found a race between RCU and rmmod. What I see appears to be > > an RCU destructor function that has a

Re: Race between RCU and rmmod

2007-05-02 Thread Rusty Russell
On Wed, 2007-05-02 at 17:30 +0530, Dipankar Sarma wrote: > On Wed, May 02, 2007 at 12:50:24PM +0100, David Howells wrote: > > > > Hi Dipankar, Rusty, > > > > I seem to have found a race between RCU and rmmod. What I see appears to be > > an RCU destructor function that has a call pending but liv

Re: Race between RCU and rmmod

2007-05-02 Thread Dipankar Sarma
On Wed, May 02, 2007 at 12:50:24PM +0100, David Howells wrote: > > Hi Dipankar, Rusty, > > I seem to have found a race between RCU and rmmod. What I see appears to be > an RCU destructor function that has a call pending but lives in a module, gets > deleted before the RCU callback is processed: