Skip to contentSkip to conversation

proc_flush_task: flush /proc/tid/task/pid when a sub-thread exits

PATCH In review Oleg Nesterov 2 participants 2 messages Jul 9, 2009

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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 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