Re: [RESEND] file operations: release can race with read/write?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roland Dreier
Date: Wednesday, October 17, 2007 - 3:06 pm

> After pthread_create()'s clone() you should have files->count==2, so
 > fget_light() will do the full atomic_inc_not_zero() thing?

Indeed.  Thanks for the clue.

I guess the search for the bug goes on.  (I only have a picture of the
tail end of one oops message to work with so far, hence the wild
speculation).

Thanks,
  Roland
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
file operations: release can race with read/write?, Roland Dreier, (Tue Oct 16, 11:53 am)
Re: [RESEND] file operations: release can race with read/w ..., Roland Dreier, (Wed Oct 17, 3:06 pm)