> > I am running a threaded program under 2.0.33 (redhat 5.0 with a custom
> > kernel). Sometimes file locks are not released by the kernel when the
> > threads are all dead.
> >
> > I believe this has been reported before. Is there is a kernel patch
> > available?
>
> The problems with releasing locks from threads has been fixed in the 2.1.xx
> tree, but apparently hasn't been backported to 2.0.xx. If someone wants to work
> on it, the changes are relatively minor -- the lock code was changed to use the
> files_struct pointer as the "owner" value, and the close code for posix/flock
> separated.
I would be happy to port it to 2.0.xx if you can supply me with a diff
of what you did to 2.1.xx.
Joe Buehler
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu