Re: [PATCH 0/3] proc: first_tid() fix/cleanup

2013-05-28 Thread Eric W. Biederman
Oleg Nesterov writes: > Hello. > > next_thread() should be avoided, probably next_tid() is the > only "valid" user. > > But now we have another reason to avoid (and probably even kill) > it, we are going to replace or fix while_each_thread(), almost > every lockless usage is wrong. > > I was goin

[PATCH 0/3] proc: first_tid() fix/cleanup

2013-05-27 Thread Oleg Nesterov
Hello. next_thread() should be avoided, probably next_tid() is the only "valid" user. But now we have another reason to avoid (and probably even kill) it, we are going to replace or fix while_each_thread(), almost every lockless usage is wrong. I was going to send more changes, but this initial