[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230824155349.GB11832@redhat.com>
Date: Thu, 24 Aug 2023 17:53:50 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Peter Zijlstra <peterz@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] introduce __next_thread(), change next_thread()
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.
Powered by blists - more mailing lists