Re: [PATCH 2.6.13.1] Patch for invisible threads

From: Roland McGrath
Date: Thu Sep 15 2005 - 02:29:54 EST


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

Good point. The technique that looks for the first nonzombie in the group
to fetch its fs might be best if it's necessary to use fs for the
permission checks. It should always find a winner on just one
iteration, or two or three in races, except for ptrace keeping zombie
threads alive (otherwise all zombies but the leader self-reap quickly).


Thanks,
Roland
-
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/