Re: Linux kernel file offset pointer races

From: viro
Date: Sat Aug 07 2004 - 08:22:42 EST


On Sat, Aug 07, 2004 at 02:38:12PM +0200, Amon Ott wrote:
> Would it not be useful to have per-process or per-thread offsets? Do
> parallel processes really need to share the offset?
>
> E.g., the struct file could (optionally) be copied on fork with
> copy-on-write to avoid extra memory consumption.

(cat a; cat b) > /tmp/foo
-
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/