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

From: Oleg Nesterov
Date: Thu Aug 24 2023 - 10:42:49 EST


Damn.

Peter Zijlstra's email was wrong. Fix it.

Peter, sorry, you can find this short series on kernel.org,
https://lore.kernel.org/all/20230824143112.GA31208@xxxxxxxxxx/

or I can resend with your email fixed.

On 08/24, Oleg Nesterov wrote:
>
> Hello,
>
> After document-while_each_thread-change-first_tid-to-use-for_each_thread.patch
> in mm tree + this series
>
> 1. We have only one lockless user of next_thread(), task_group_seq_get_next().
> I think it should be changed too.
>
> 2. We have only one user of task_struct->thread_group, thread_group_empty().
> The next patches will change thread_group_empty() and kill ->thread_group.
>
> Oleg.