Re: [PATCH] introduce for_other_threads(p, t)

From: Christian Brauner
Date: Tue Oct 31 2023 - 06:37:55 EST


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@xxxxxxxxxx>
> ---

Looks good to me,
Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>