From patchwork Tue Mar 28 08:55:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cupertino Miranda X-Patchwork-Id: 1762212 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=NmrKYU0H; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Pm3ST6YZDz1yYS for ; Tue, 28 Mar 2023 19:56:09 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C79D73857C44 for ; Tue, 28 Mar 2023 08:56:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C79D73857C44 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679993767; bh=0LPI9DNlAyvj10dteVgmEZuuFbGd/+JqvUiTGveyYFY=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=NmrKYU0HVOBmXo/ZKbZMkDQxH4QFo7iN863orfp6g+OOsTmuSfjNUQD/PMTSIJ4Gj yUSR++ojFZPgs9xyXL8YH9T16Hz0q9IPo/D+TrSsx7ZTnXmi3yHmkBhFDPwyeIx5s/ 9nvi7XCdq6tfEbyskdL7z0PeyJ/sJsP6RJ1rgNls= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id EE1703858D39 for ; Tue, 28 Mar 2023 08:55:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EE1703858D39 Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32S8jD8D012722 for ; Tue, 28 Mar 2023 08:55:51 GMT Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pkw0eg18s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Mar 2023 08:55:50 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 32S8PX6T020554 for ; Tue, 28 Mar 2023 08:55:50 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3phqd6brj8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Mar 2023 08:55:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KgdgXOgH8W0+fnvRmrVZuiEV6yuXfWPFRCrm/7ysVVSKDMKywEOowV0U9eFL0jeQzVZCARy7vM1fKN3AB6rjve6eSSQIVaiP4UzHQrCwP/VckGOPVXwr8gDosatBJ+ZuqHLbq5wtZ+8YlP2FGje6LwY+vj7DL46jgCxqRtQQUySx2pTmEaJQRoPDZPvHqe+cLySKdEOK0eHHJp4qiPTEg2ACDbaA8MiPhmuxDFne786mANg1EkyYDdpx+0LndnKaLnKz1pBAkmSwepmPBMV62DTtPeyHqoS1Zflv1O1GMZe3ZoNdCOuvMB8wst2iCpn6QE/i1fDXr4e7BsbbOkyasQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0LPI9DNlAyvj10dteVgmEZuuFbGd/+JqvUiTGveyYFY=; b=MRlUjW3A++XK3Px+OtkhxbyVavuJ3YMDqy89hs/nuDsuOaoQQnGos8pMRiT/DQ02fszSL5X8v+QsP68KtMxXnMVDsMENVspt66f8/auQr7osEncoSpOKY+rBhwZ4P7Hb3tqjFJAmHPcnlgQBhFEWXOd8Q69h2H6eo7POnGOrtydNTaTQMau/5nOZAaM+EV0fBwJhzqAfxkBsWVfNHd/lP0bSpNnPmhCU2URIJEdlLU2qh5Kr+R1DfKieeCUajkU09QREtASJPEuSUiA3t76aWZwjZEO6RaMB/ns0Qn1ntwBsUCvhd8VAksgiDZy1wjyVC95ke+17Dks8HclLSsUIjw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none Received: from BN6PR1001MB2340.namprd10.prod.outlook.com (2603:10b6:405:30::36) by MW4PR10MB5702.namprd10.prod.outlook.com (2603:10b6:303:18c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6222.30; Tue, 28 Mar 2023 08:55:47 +0000 Received: from BN6PR1001MB2340.namprd10.prod.outlook.com ([fe80::a502:c948:c3f6:9728]) by BN6PR1001MB2340.namprd10.prod.outlook.com ([fe80::a502:c948:c3f6:9728%6]) with mapi id 15.20.6178.038; Tue, 28 Mar 2023 08:55:47 +0000 To: libc-alpha@sourceware.org Cc: jose.marchesi@oracle.com, elena.zannoni@oracle.com, Cupertino Miranda Subject: [PATCH v4 0/1] *** Created tunable to force small pages on stack allocation. Date: Tue, 28 Mar 2023 09:55:37 +0100 Message-Id: <20230328085538.48080-1-cupertino.miranda@oracle.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: AM4PR0501CA0048.eurprd05.prod.outlook.com (2603:10a6:200:68::16) To BN6PR1001MB2340.namprd10.prod.outlook.com (2603:10b6:405:30::36) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6PR1001MB2340:EE_|MW4PR10MB5702:EE_ X-MS-Office365-Filtering-Correlation-Id: e08f9381-714d-4b01-5e47-08db2f6a38e7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T6gb2BqaQKnf2idAUQsUVzGfQJMkWrZU09YItU+C4pM7YKQnYaQStYVQOgjCKaSvSYMvOrDVuZmhtE8Mb8BJHGRTUErKKKyfibtPTmgWig3WXzZIlKUPP97hMiQrIWdoHdmCfAMbBCd4s9b7gdrX/Ohdy1qwniLMw9xIRqSpFp/MoYF4JzS38K9aC+pTtWZEFywAXB9mTyW9o0OZDv1cgh3qSNNZKJ+Hq7QUUEi43P8sdZYNldWrNZSuQhrqcVMmyabap9Zqb7eiY2wQ4zLrqD7xtMkRjpc+5mskxZA4jIuWJiNE20roIGSGKrQaYR6ovXw51BAgMXEDwPxsLNIC0YCDuuSRDuZiVMgFw3SS5ZOrQj3osVZRKR+JB8h0qGO+opZVMCuWbSTDtGNTkdy5/aHPTlOua1W077DLkvXIa+ETSIyGip1wANcQTSjjxkj6hhmny3G60VcWHa8EydPgw5qTlCj5s6n72zpwjvftU72gPHrCJAel0pb/D82oPiPs8Z/7dMtI1J6TS9QrVQJhOYOGPQIJ2pqjftVhmoT13Ac9T7UtLbv7WhzTP20hY+Cp X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR1001MB2340.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(376002)(39860400002)(366004)(136003)(346002)(451199021)(316002)(478600001)(8936002)(86362001)(36756003)(5660300002)(2906002)(4744005)(4326008)(38100700002)(66476007)(44832011)(6916009)(8676002)(66946007)(66556008)(41300700001)(1076003)(107886003)(6666004)(186003)(6506007)(6512007)(2616005)(83380400001)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TjgdkbLfxobkgwAw9ryM4ma8p6EnHeLnFUFSfhyCpdmQGECq/apM6JDmu7muyjNhqhpfV3e4nzAsSrlaLvBLp7WdZuXXuz16R21fFqS+sf5tP224nSD8XxXNU0figt0Z4H8UWZZNSq1DRev14xYo2ALpNgng+aNwQ1aRbCxe4ipLd6yYlKeYsbx1hPdnD8ZA+L1kke3ydvQnwJuThKJxQu6jKdsQYB1PfmhDJzyxHa69Ap3UuCu3gvZj80VylLbo9MDvKtFLXocwO6dHL5O9wej8pFBE+qYipMwmgD+v8nbkZJPRebdpSMJ/4rXdkme+fy25CdGue1H7+QGXLNpSQPb2UwPJM+Ggc6ZGx/15P8Mx86pYzD+Sb7pUeaE6E7o8B1hGyE7oKLoprvN1Xl/a17FJZSnduB6XbV6DgsAyfPPdAnMKoR/5w9x68BYH4sbyAQ55T4HvEVjbTSF5kCXmzJ1zXDyNHOxcrppIUbaORo3CprLamEjc1u45nSTzssBblELB/HtF97EPiwVbXbo0pGABlOXdupKYI4SRcUsjjBp0S/fQmdT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fSu8r05V8bgdcnp60GN X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: JMNdPvOygNWYN2X6yb9lJVgPLkwBJm4x7Yt/Tu6zGqkDe2zuM22/SXyJOKI2w0LvGyolJPTw4namjTOo/ODdTq8RhtzAQfnwNCFjW9a93ZDo6EW4C3pxTyLMbQAZam6axChpE5oT2qDljzJPGRphHvR42fkQGpqFX8LvAd7P6MAS5sP5zYjYT3y1rlCPZG6Bi0rZROKnnD23hK+oDhXtZxHEKUTBa2nw+iQWAzZP9mXxh8DqZN7ZdSFRU950tC9tqZKsU5tf6q+s5ALWdoEd/Eq1SSs586eCPFi5S9zoZREfkdHQLctYQm3CO5yIUKU/snFAmjlnFde1H4PqhN29rsTiaiLs8cgrXj6GGLxRfhqUybrow45cfg8KU/ssJE7D4ySDBQVxdiRjfVwqc3HZoAEgPyFtwO0xRDNwgbUCVYY7nZaf6UJGIC/o5bj9HQcgEoioSNBq6dj2zsp99Xsogi9M21iOAn4ICu2dpC9QgX8LiZUxvPq75lh+fr/L48hknzvIbAIGzTgGh2KMqyvfFLnL7VxBURq23j4BYPDlOg6vbzIFPTg+LAb1hGQ1y6+/+5B2fGNdKTNbs+Gk7dB/1jol3+/PTYpnQ+1yFbDnKVDyAgeYzII2Csr2QP/GVYhglUiJNrkM9zUaKwtoRGyGCVOfFkKWs7vTqlYYFqYpl3N/KNq/YPg7PiaILORAUbJNKj/4reIPk7pqSXT+tLCO4cHcRr47PvazpjE8FyIHomq69Mrj0+AXcIVKoxRza57P X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: e08f9381-714d-4b01-5e47-08db2f6a38e7 X-MS-Exchange-CrossTenant-AuthSource: BN6PR1001MB2340.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Mar 2023 08:55:47.2032 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Bx0dmRuKTR5ce43RsZxOFTPZuu/nGBxvOCR4WMDm4gFkUn8a+wG2yf4lfGHPzwTST5h/rTXWx6K97MI73Z4r+NyXxOI8kUMl8gt6N1im7fc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB5702 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-03-24_11,2023-03-27_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 phishscore=0 malwarescore=0 adultscore=0 spamscore=0 mlxlogscore=921 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303280074 X-Proofpoint-GUID: jyCgKRzWWze3zzGVPhCEvN52SBCHm4hy X-Proofpoint-ORIG-GUID: jyCgKRzWWze3zzGVPhCEvN52SBCHm4hy X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Cupertino Miranda via Libc-alpha From: Cupertino Miranda Reply-To: Cupertino Miranda Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Hi everyone, Just some small update to documentation. Thanks, Cupertino Cupertino Miranda (1): Created tunable to force small pages on stack allocation. manual/tunables.texi | 14 ++++++++++++++ nptl/allocatestack.c | 6 ++++++ nptl/nptl-stack.c | 1 + nptl/nptl-stack.h | 3 +++ nptl/pthread_mutex_conf.c | 8 ++++++++ sysdeps/nptl/dl-tunables.list | 6 ++++++ 6 files changed, 38 insertions(+)