Re: [PATCH 2.6.13.1] Patch for invisible threads

Al Viro
2005-09-15T02:12:49Z

On Wed, Sep 14, 2005 at 08:38:48PM -0500, Sripathi Kodi wrote:
> Roland McGrath wrote:
> >>If you don't like this idea at all, please let me know if there any other
> >>way of solving the invisible threads problem, short of taking out
> >>->permission() altogether from proc_task_inode_operations.
> >
> >
> >Have you investigated my suggestion to move __exit_fs from do_exit to
> >release_task?
>
> Roland,
>
> No, I had missed this completely. Sorry.
>
> I just gave it a quick try and it seems to be working fine. I have only
> moved __exit_fs to the top of release_task, not moved exit_namespace after
> it. I will try to run some tests to see if this is working fine. Thanks a
> lot.

Among other things, it means that zombies keep pinning their root and cwd
down, AFAICS. Not Good(tm).