Re: kthread, signals and PF_FREEZE (suspend)
From: Jamie Lokier
Date: Mon Feb 16 2004 - 11:56:12 EST
Rusty Russell wrote:
> > That means that signal_pending() will return true for that process which
> > will make kthread stop the thread.
>
> Yes, the way they are currently coded. I had assumed that spurious
> signals do not occur.
Yowch. Does suspend mean this warning in futex_wait is wrong?
/* A spurious wakeup should never happen. */
WARN_ON(!signal_pending(current));
return -EINTR;
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/