lkml.org 
[lkml]   [2021]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [possible bug] missed wakeup in do_sigtimedwait()?
On Sat, Sep 4, 2021 at 11:13 AM Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> Thanks. AFAICS, it's this logics in __schedule():
> if (signal_pending_state(prev_state, prev)) {
> WRITE_ONCE(prev->__state, TASK_RUNNING);

Exactly. As you note, it also handles the WAKEKILL case which is
basically equivalent (just for the "I can't take normal signals, but
I'm ok dying" case)

Linus

\
 
 \ /
  Last update: 2021-09-04 20:22    [W:0.505 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site