From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752539AbbJFLdd (ORCPT ); Tue, 6 Oct 2015 07:33:33 -0400 Received: from eu-smtp-delivery-143.mimecast.com ([207.82.80.143]:43750 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752231AbbJFLdb convert rfc822-to-8bit (ORCPT ); Tue, 6 Oct 2015 07:33:31 -0400 Date: Tue, 6 Oct 2015 12:33:28 +0100 From: Dave Martin To: Andreas Schwab Cc: Arnd Bergmann , catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, Akhilesh Kumar , Manjeet Pawar , Rohit Thapliyal , linux-arm-kernel@lists.infradead.org, pankaj.m@samsung.com Subject: Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ Message-ID: <20151006113328.GP6281@e103592.cambridge.arm.com> References: <1444109743-8561-1-git-send-email-manjeet.p@samsung.com> <5022096.8QRzW0l3EJ@wuerfel> <20151006103128.GN6281@e103592.cambridge.arm.com> <5340366.WTVksOGb0G@wuerfel> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-OriginalArrivalTime: 06 Oct 2015 11:33:28.0874 (UTC) FILETIME=[D26250A0:01D1002A] X-MC-Unique: OmnC5OOKScmNFZmppjSkHg-1 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 06, 2015 at 12:59:45PM +0200, Andreas Schwab wrote: > Arnd Bergmann writes: > > > I think it makes sense to stick with the traditional definition > > of MINSIGSTKSZ == "the minimum amount that you will always need, > > add whatever you require yourself" and SIGSTKSZ == "Should be > > enough for a couple of function calls". > > The python3 testsuite wants to put two signal frames in a SIGSTKSZ > stack. Whether it's valid to expect SIGSTKSZ to be big enough for that is debatable. But I guess that SIGSTKSZ = MINSIGSTKSZ * 4 provides some insurance against such assumptions (doubtless the python testsuite is not the only code affected). Cheers ---Dave