Re: [PATCH] fs/locks.c: Fix posix locking for threaded tasks

From: Matthew Wilcox (
Date: Wed Jun 12 2002 - 06:45:36 EST

On Wed, Jun 12, 2002 at 10:40:07AM +0100, Alan Cox wrote:
> > SUS v3 does not offer any enlightenment. But it seems reasonable that
> > processes which share a files_struct should share locks. After all,
> > if one process closes the fd, they'll remove locks belonging to the
> > other process.
> >
> > Here's a patch generated against 2.4; it also applies to 2.5.
> > Please apply.
> This seems horribly inappropriate for 2.4 as it may break apps

I have no problem with withdrawing the request for 2.4. It does mean that
it's almost impossible to write an M:N threading library implementation.
This doesn't concern me too much; I just want you to be aware this is
the tradeoff you're making.

I would still like to see it in 2.5.

Revolutions do not require corporate support.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:25 EST