From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 68BC83845855 for ; Wed, 14 Dec 2022 16:46:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 68BC83845855 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=linux.vnet.ibm.com Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BEGfgSI019452 for ; Wed, 14 Dec 2022 16:46:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=FwyqAXaH+0sJQqDRMsRMKP3OWZ4bmhejVPWSvp+CpsE=; b=Qp/34zSA4aojz+0XKzz3m75rdRUmhbFodLvi22YsaFBxlJp0j9/OSb2unxkQvSGQHF5J oS9MkUWe+gh7zaceS1Po+2J9UznLiTrf0Jd8MvRfy4t5i7Ye+eNgZHW5yHoBggy+BaM7 puq1dktA0VaJWg1BUNIXd/96N6oRYaG1e+QJetDuavvrIW35VK1oU73HlokJS+O4o77H 7OP/uhGxt+DfFxXmZ9e5zW+hzgSS7d3fMvsgdMSQ2apeQvC/ro+DPd5UmipEuu/GhKnc q1D7wx9xiUz1fLH3Ut+IQoIWZmvZySVpnz1btcnALCMiOin2a4y+7beqJkmP0YRXibDI 6A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mfj7x84fh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 14 Dec 2022 16:46:38 +0000 Received: from m0098399.ppops.net (m0098399.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 2BEGhaMQ029657 for ; Wed, 14 Dec 2022 16:46:37 GMT Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mfj7x84f6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Dec 2022 16:46:37 +0000 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 2BEG0oS6005705; Wed, 14 Dec 2022 16:46:36 GMT Received: from smtprelay06.dal12v.mail.ibm.com ([9.208.130.100]) by ppma03dal.us.ibm.com (PPS) with ESMTPS id 3meyfdqavs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Dec 2022 16:46:36 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay06.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2BEGkZ7Q3277444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Dec 2022 16:46:35 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1E80C5805C; Wed, 14 Dec 2022 16:46:35 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EE39C58051; Wed, 14 Dec 2022 16:46:34 +0000 (GMT) Received: from [9.163.1.43] (unknown [9.163.1.43]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Wed, 14 Dec 2022 16:46:34 +0000 (GMT) Message-ID: Date: Wed, 14 Dec 2022 10:46:34 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] powerpc64: Increase SIGSTKSZ and MINSIGSTKSZ Content-Language: en-US To: Florian Weimer , Rajalakshmi Srinivasaraghavan via Libc-alpha Cc: Rajalakshmi Srinivasaraghavan References: <20221209011652.4109160-1-rajis@linux.ibm.com> <87h6xz9st3.fsf@oldenburg.str.redhat.com> From: Rajalakshmi Srinivasaraghavan In-Reply-To: <87h6xz9st3.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: i18pu5UAun7zZi5yRZsCKo6Dln9vSd5M X-Proofpoint-ORIG-GUID: tTSjQcmcWTUqSor_cjIh6bDPAAmMv1tf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-14_07,2022-12-14_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 priorityscore=1501 mlxscore=0 phishscore=0 impostorscore=0 mlxlogscore=761 clxscore=1015 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212140132 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,GIT_PATCH_0,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 12/13/22 10:23 AM, Florian Weimer wrote: > * Rajalakshmi Srinivasaraghavan via Libc-alpha: > >> This patch increases the value of SIGSTKSZ and MINSIGSTKSZ >> for powerpc64 similar to the kernel commit >> 2f82ec19757f58549467db568c56e7dfff8af283 to allow >> further expansion of the signal stack frame size. >> --- >> sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h b/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h >> index abc87cd7a6..4bff1fe1e7 100644 >> --- a/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h >> +++ b/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h >> @@ -23,10 +23,15 @@ >> # error "Never include this file directly. Use instead" >> #endif >> >> +#ifdef __powerpc64__ >> +#define MINSIGSTKSZ 8192 >> +#define SIGSTKSZ 32768 >> +#else >> /* Minimum stack size for a signal handler. */ >> #define MINSIGSTKSZ 4096 >> >> /* System default stack size. */ >> #define SIGSTKSZ 16384 >> +#endif > This is technically an ABI change, but if you think this is the right > forward, you can certainly make that change. It's not the path some > other architectures have taken when they faced similar problems, so I > don't think we have much experience in this area. > > Should we backport this to older releases (or downstream)? Yes, This should be backported to older releases as well. > > Thanks, > Florian >