Re: [PATCH 2.6.13.1] Patch for invisible threads

From: Al Viro
Date: Wed Sep 14 2005 - 21:13:06 EST


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).
-
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/