Re: WARNING: CPU: 12 PID: 16862 at ./arch/x86/include/asm/thread_info.h:236

From: Al Viro
Date: Sat Jan 09 2016 - 02:08:33 EST


On Mon, Nov 30, 2015 at 07:48:04PM +0100, Oleg Nesterov wrote:

> Yes, sigsuspend() should do "while (!signal_pending(current))". Like
> sys_pause() does, -ERESTARTNOHAND without signal_pending() is equally
> wrong.
>
> I'll send the fix unless Sasha wants to do this.

Looks like neither mainline nor -next has that...