[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231031-funkanstalt-wohlstand-06346bf72934@brauner>
Date: Tue, 31 Oct 2023 11:37:47 +0100
From: Christian Brauner <brauner@...nel.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Eric Biederman <ebiederm@...ssion.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] introduce for_other_threads(p, t)
On Mon, Oct 30, 2023 at 04:57:10PM +0100, Oleg Nesterov wrote:
> Cosmetic, but imho it makes the usage look more clear and simple, the
> new helper doesn't require to initialize "t".
>
> After this change while_each_thread() has only 3 users, and it is only
> used in the do/while loops.
>
> Signed-off-by: Oleg Nesterov <oleg@...hat.com>
> ---
Looks good to me,
Reviewed-by: Christian Brauner <brauner@...nel.org>
Powered by blists - more mailing lists