Oleg, I am confused as to why we need two atomics count and live in signal_struct.
report_death() uses ->live as the group_dead indicator, while there are places (like the scheduler) which uses ->count as the nr_threads indicator. I tried git blame to see if it remembers why, but the addition predates 2.6.12 and so it does not know. Could you please shed some light on this? Ananth