Re: [PATCH 0/2] introduce __next_thread(), change next_thread()

From: Oleg Nesterov
Date: Thu Aug 24 2023 - 11:56:20 EST


Argh...

sorry for noise,

On 08/24, Oleg Nesterov wrote:
>
> No. Please note that, say,
>
> do {
> do_something(t);
> } while_each_thread(current, t);
>
> differs from for_each_thread() in that it loops starting from current,
> not current->parent.
^^^^^^
just in case, of course I meant current->group_leader

Oleg.