Re: VFS locking: f_pos thread-safe ?

From: Werner Almesberger
Date: Fri Feb 06 2004 - 15:10:20 EST


Joel Becker wrote:
> This reads: "all of the specified effects of the other call,
> or none of them."
[...]
> Of course, that doesn't change the possible race updating
> f_pos at the end of each thread's call.

Hmm, "all, but the f_pos read-modify-write" sounds more like how
an insurance company would define "all" :-)

What's puzzling here is that the standard would introduce such an
important concept in the discussion of threads.

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@xxxxxxxxxxxxxxx /
/_http://www.almesberger.net/____________________________________________/
-
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/