proc_flush_task: flush /proc/tid/task/pid when a sub-thread exits
cover proc_flush_task: flush /proc/tid/task/pid when a sub-thread exits
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.
Oleg.
Quoted 4 lines · Oleg Nesterov
Alexey, Eric, could you please review and ack/nack ?
I just can't understand what was the reason for "if (
thread_group_leader())" check inproc_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