Re: re. Spurious wakeup on a newly created kthread

From: Wedson Almeida Filho
Date: Sun Jun 26 2022 - 20:01:19 EST


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).