Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753428Ab3FNQ30 (ORCPT ); Fri, 14 Jun 2013 12:29:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59856 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752870Ab3FNQ3Z (ORCPT ); Fri, 14 Jun 2013 12:29:25 -0400 Date: Fri, 14 Jun 2013 18:22:44 +0200 From: Oleg Nesterov To: James Hogan Cc: linux-kernel@vger.kernel.org, Ralf Baechle , David Daney , Al Viro , "Paul E. McKenney" , David Howells , Dave Jones , linux-mips@linux-mips.org Subject: Re: [PATCH v2] MIPS: Reduce _NSIG from 128 to 127 to avoid BUG_ON Message-ID: <20130614162244.GA15754@redhat.com> References: <1371225825-8225-1-git-send-email-james.hogan@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1371225825-8225-1-git-send-email-james.hogan@imgtec.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 717 Lines: 22 On 06/14, James Hogan wrote: > > However do_group_exit() checks for the core dump bit (0x80) in the exit > code which matches in this particular case and the kernel panics: > > BUG_ON(exit_code & 0x80); /* core dumps don't get here */ > > Lets avoid this by changing the ABI by reducing the number of signals to > 127 (so that the maximum signal number is 127). Agreed. Of course I can't ack the change in arch/mips, but to me this looks like a best solution. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/