Re: [PATCH 0/1] proc_flush_task: flush /proc/tid/task/pid when a sub-thread exits

From: Eric W. Biederman
Date: Thu Jul 09 2009 - 16:33:17 EST


Oleg Nesterov <oleg@xxxxxxxxxx> writes:

> Alexey, Eric, could you please review and ack/nack ?
>
> I just can't understand what was the reason for "if (thread_group_leader())"
> check in proc_flush_task() pathes.

Give me a day or two.

There are definitely bugs there. My cleanup patch for that has gotten
lost several times.

All of this is an optimization so it isn't critical we get this right.
Just a good idea.

Eric
--
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/