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

From: Roland Dreier
Date: Wed Oct 17 2007 - 18:07:06 EST


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