Re: [PATCH v7 16/22] sched: Defer wakeup in ttwu() for unschedulable frozen tasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 27, 2021 at 04:31:51PM +0200, Peter Zijlstra wrote:
> @@ -149,7 +144,7 @@ void __thaw_task(struct task_struct *p)
>  
>  	spin_lock_irqsave(&freezer_lock, flags);
>  	if (frozen(p))
> -		wake_up_process(p);
> +		wake_up_state(p, TASK_FROZEN);

Possibly, that wants | TASK_NORMAL added.

>  	spin_unlock_irqrestore(&freezer_lock, flags);
>  }




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux