From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499AbcAIHIa (ORCPT ); Sat, 9 Jan 2016 02:08:30 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:47625 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752303AbcAIHI3 (ORCPT ); Sat, 9 Jan 2016 02:08:29 -0500 Date: Sat, 9 Jan 2016 07:08:19 +0000 From: Al Viro To: Oleg Nesterov Cc: Peter Zijlstra , Sasha Levin , Ingo Molnar , LKML Subject: Re: WARNING: CPU: 12 PID: 16862 at ./arch/x86/include/asm/thread_info.h:236 Message-ID: <20160109070819.GA4516@ZenIV.linux.org.uk> References: <565C775C.9050004@oracle.com> <20151130164404.GZ22011@ZenIV.linux.org.uk> <20151130165244.GA3816@twins.programming.kicks-ass.net> <20151130184804.GA7455@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151130184804.GA7455@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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...