Re: re. Spurious wakeup on a newly created kthread

Wedson Almeida Filho
2022-06-27T00:01:16Z

On Sat, Jun 24, 2022 at 07:19:27PM -0500, Eric W. Biederman wrote:
>
> Further it is necessary for Peter Zijlstra's rewrite of the kernel
> freezer. As anything that isn't a special stop state (which
> TASK_UNINTERRUPTIBLE is not) will receive a spurious wake up on when
> thawed out.

Do you know if the current (i.e., prior to the rewrite) kernel freezer
also sends spurious wakeups when thawing tasks?

I'm trying to understand if this source of spurious wakeups will be a
new one or already exists (and might therefore explain what's described
in the original email).