From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 76860385773E for ; Thu, 11 May 2023 16:50:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 76860385773E 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 (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34BGiNK2005466; Thu, 11 May 2023 16:50:16 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=gPTd8qDtoU8RiW0YN3g0n35IEXI9KcxdXTaV04NwoR4=; b=WyKq3j7+Nj53nJF85Nz8dY1DJskHYtbX0Q5AjpVyPSS1k/QDHIIiF0/2cIuGybTey+Sr rOqu+OJS4OZvCxREs+RTcTH183su96eHFsIH5Iu7t3BghI3Yoj91QBQY1OzhaIGyG4nY OCnFH44S7rZcqKdMZwrvRgYyixKbZsRTbVUbNWpsvP5C8UFBPFl9lnBNZ4lTKCjsSEGG DWE12fNKFoGifNAD54LT7z5KuIuvpbzvVxEBbZeiyxoDxvULlIAcdOr6ZYeakcWZbIc9 jNNIRBdNelLxXu/ORkm6RDdE1wR6tqtbNLbK8mizLdQikasfB7pStO31pr+h21IeVu/r Sw== Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qh44x06nw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 16:50:16 +0000 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34BDnupP002509; Thu, 11 May 2023 16:50:16 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([9.208.129.120]) by ppma05wdc.us.ibm.com (PPS) with ESMTPS id 3qf88ughct-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 16:50:15 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34BGoE4U1704690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 May 2023 16:50:14 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1057158065; Thu, 11 May 2023 16:50:14 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C55C58052; Thu, 11 May 2023 16:50:12 +0000 (GMT) Received: from [9.43.52.52] (unknown [9.43.52.52]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 11 May 2023 16:50:11 +0000 (GMT) Message-ID: <7a0c60f8-092c-b6d7-9e93-0a157511b8dd@linux.vnet.ibm.com> Date: Thu, 11 May 2023 22:20:09 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] powerpc: Use sysconf (_SC_SIGSTKSZ) to set SIGSTKSZ and MINSIGSTKSZ. To: Tulio Magno Quites Machado Filho , Manjunath Matti via Libc-alpha Cc: rajis@linux.ibm.com, Manjunath Matti References: <20230424105208.301614-1-mmatti@linux.ibm.com> <874jozevbl.fsf@ascii.art.br> <7620a9b1-fe92-0764-6011-81d3a19e5590@linux.vnet.ibm.com> <871qjxe26c.fsf@ascii.art.br> <87wn1mdfwl.fsf@ascii.art.br> <47ceecd1-1abd-383f-b4d6-0fd47b1969fc@linux.vnet.ibm.com> <87sfc5o1f3.fsf@ascii.art.br> From: Manjunath S Matti In-Reply-To: <87sfc5o1f3.fsf@ascii.art.br> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: WNo2i1hi4TGIBY2vdMH0RhpmQawta8kJ X-Proofpoint-ORIG-GUID: WNo2i1hi4TGIBY2vdMH0RhpmQawta8kJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-11_13,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=613 spamscore=0 phishscore=0 clxscore=1015 malwarescore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305110143 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE 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 09/05/23 11:03 pm, Tulio Magno Quites Machado Filho wrote: > Manjunath S Matti writes: > >> Am I missing some thing, please help me understand the file > No. You're right. > The issue I hypothesized can't happen. Thanks for confirming. >> I will definitely add a testcases just to check what value are we getting >> >> from the kernel. > I'm sorry, I'm not sure this test is needed anymore. > While it doesn't hurt to have it, it would add little value. > > Thanks again! > I have one last thing that I fail to understand, in x86 file: sysdeps/unix/sysv/linux/bits/sigstksz.h  26 /* Default stack size for a signal handler: sysconf (SC_SIGSTKSZ).  */  27 # undef SIGSTKSZ  28 # define SIGSTKSZ sysconf (_SC_SIGSTKSZ)  29  30 /* Minimum stack size for a signal handler: SIGSTKSZ.  */  31 # undef MINSIGSTKSZ  32 # define MINSIGSTKSZ SIGSTKSZ line number 32, both MINSIGSTKSZ and SIGSTKSZ are intentionally set to the same value. Do you know why, I just wanted to know the reason behind this. Thank you