Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp643933rwa; Sat, 20 Aug 2022 10:45:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Prx/4waoV+KwU7uuG64I3Q5OuDuOb5nK4f41xVuEXGFkPx6h9mcddJ+dtHmoWnE9qv4Gs X-Received: by 2002:a05:6402:3550:b0:43d:e475:7d2f with SMTP id f16-20020a056402355000b0043de4757d2fmr10136841edd.166.1661017513901; Sat, 20 Aug 2022 10:45:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661017513; cv=pass; d=google.com; s=arc-20160816; b=wzK6M8zRHNb1Kxyv3ZFuV3bWcW1yVN4H80LGSsrHQA8b5lZcJrgioAWx2q8I3hmHKm q6jde3g/2npmCG6ZQPps2j2b2Q7xScILhphXqbz5v81HDoKU62fLV5EbDfM3FReADd5w fS4zkHUTF+hImB3pDTu2y4WCX5enh8BDJ3biMWssWB+sAx4oGahmLrb+2OOMEbMKA0Qk rkUgmAmmalMO2AWdbI53kOt+fsLb9P4R5V3ek4UBmlo8maDODDi6KyAvVoJgqgporc5O PiJJPRxDPrPLcGNVGBJ0pWOE6ezkhc7ZZKrByKJ71D8tqT7DTItIeWl63Uz4tK0tLYn4 icJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:dkim-signature; bh=l8KECb0a5P+N6A2RzAwTF9GB+WOdmqpC3DwXKrkL2YA=; b=wNPJd0+iLfTL2i+0z6+5HXL+94nHDjpnQcxY9dCiVv6tnJgMExRO7ilLjau4uyNY0B e5XtBDJFlPV2sth/psG4wHfPzqwRddq7mX9XhGZnhB0iDiHS+PhVVqno26GdaEFFuzOJ Dix9hvxIoABE0rwf7Q2DgC8jbfNtFWeDFthCiduliBo/eJ8WCqoxxADTn60bYIYRAQOO GAH47sngGB4KzFj3GFSjgK5tdB4BIK7iD7PSPoFnvdFUDfS2+U83FdIl8Rum/qlNQcxC PWdjnRNiyVzBlpYLEAQslal8s3UwNqc4nh+LJITufJKQ9c2Qsd6esX0E1vtjZX0MocAi UmZg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=O7CoJ0VN; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa10-20020a1709076d0a00b006e7fe1e4eb4si5651394ejc.847.2022.08.20.10.44.48; Sat, 20 Aug 2022 10:45:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=O7CoJ0VN; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346166AbiHTRma (ORCPT + 99 others); Sat, 20 Aug 2022 13:42:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346709AbiHTRm1 (ORCPT ); Sat, 20 Aug 2022 13:42:27 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09D7A5A8BF; Sat, 20 Aug 2022 10:42:25 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27KHc0rs031246; Sat, 20 Aug 2022 17:42:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=qcppdkim1; bh=l8KECb0a5P+N6A2RzAwTF9GB+WOdmqpC3DwXKrkL2YA=; b=O7CoJ0VNu1C3eXtWEuNvCh52VBzIBrHipn8sB/NADs4pG4PAirxtCPj3oefR0me6hck6 7H64WxYsRSBNxwomecxwtYiVnC9YWJnAJ5sZf1RR/taYOpqwgQmYKY0QmOID2HcZI1+P 0iSvRgpz6BhIE4khWfhdLJ3lajA4o9lLgKdsQ4fjDAxQAb5oQUJ28kPB/l+uvgcDC49H LFI+lx6yw5jfs6yyOmFzJZ6bvtYaMIvwF1LuHkS8hCQ1J9HbGNAAQMfXr+B3G/g8qETv fKz7oW0XyCGR27zHlFTpcybXaZAzSOp0J1VmnYTXoEgpK0O6cZCE7tBjYIo4H0+BdNns 7w== Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2170.outbound.protection.outlook.com [104.47.73.170]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j2vwsgh6s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 20 Aug 2022 17:42:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nDNIVqnEzBes02dldfgJZJbikZJ05/hZ87OhECQWj/jQSrNq6Bg1fzwqMcZBSkIeeM1QSt51D0Kfyonq92SkcnJnSDBMk0Gseg92hkLIEbnDzQXr/S3NPdwqPVT4ywLhDE98D8RyJ/Bp8bFFegd5l4NIt4yAIZVlz+5pvs+/wBoZcYjMPNdlPngJJWE/7jqbfGkazSoHmXfLq0jBNtNAQWZQXuyQcUIuLzolrh371PaglPTeVMEbaaBsJgC/y/402zX2267Quu4ZSfUni2+LEqb9JfV/7bNkTOXpRhWHvVfx187B6J3+JaY9mpxjgbn666qRmBrLa334mFNNuTCJwQ== 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=l8KECb0a5P+N6A2RzAwTF9GB+WOdmqpC3DwXKrkL2YA=; b=muDZ4Sv9XqZFWs9lt0LDAoGrVcXMYTqV6fN6raxId9EplHoKbvJN94tAjURVOWO337YiKE7HCMR1zFcjFpmSpr0r2AgF+IVQSPIZKQab74gE7W/q2aAsQbgZFXHk2DybSALFUtxrwicl5MwwHpf/hhdgJi2sjbqkpI4vLWUkyQxvH4JO4dAkOs2Q4IqbDY6kT1oBvZ0lKujRdZ1lt9ZJbwHVf+6q9NRovh/m4vZjDFndFzCPXVYTUrrocfdhmqhevyQeT0kKUSQwG/2/5+t+kEf4aNkl6zSSKABad3gLcb6hUMxB5AAwHYoLStnDTtWPuxeFbdHvIlsvXCt6Lx7Eaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=quicinc.com; dmarc=pass action=none header.from=quicinc.com; dkim=pass header.d=quicinc.com; arc=none Received: from BN7PR02MB4194.namprd02.prod.outlook.com (2603:10b6:406:f8::18) by BL3PR02MB8148.namprd02.prod.outlook.com (2603:10b6:208:35f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.19; Sat, 20 Aug 2022 17:42:15 +0000 Received: from BN7PR02MB4194.namprd02.prod.outlook.com ([fe80::2940:82a9:edbf:233d]) by BN7PR02MB4194.namprd02.prod.outlook.com ([fe80::2940:82a9:edbf:233d%7]) with mapi id 15.20.5546.019; Sat, 20 Aug 2022 17:42:15 +0000 From: Brian Cain To: Kefeng Wang , Richard Henderson , Ivan Kokshaysky , Matt Turner , Vineet Gupta , Russell King , Catalin Marinas , Will Deacon , Guo Ren , Huacai Chen , WANG Xuerui , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , Dinh Nguyen , Jonas Bonn , Stefan Kristiansson , Stafford Horne , "James E . J . Bottomley" , Helge Deller , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Yoshinori Sato , Rich Felker , "David S . Miller" , Richard Weinberger , Anton Ivanov , Johannes Berg , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "x86@kernel.org" , Chris Zankel , Max Filippov , "linux-alpha@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-snps-arc@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" , "linux-csky@vger.kernel.org" , "linux-hexagon@vger.kernel.org" , "linux-ia64@vger.kernel.org" , "loongarch@lists.linux.dev" , "linux-m68k@lists.linux-m68k.org" , "linux-mips@vger.kernel.org" , "openrisc@lists.librecores.org" , "linux-parisc@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-riscv@lists.infradead.org" , "linux-s390@vger.kernel.org" , "linux-sh@vger.kernel.org" , "sparclinux@vger.kernel.org" , "linux-um@lists.infradead.org" , "linux-xtensa@linux-xtensa.org" , "akpm@linux-foundation.org" Subject: RE: [PATCH] kernel: exit: cleanup release_thread() Thread-Topic: [PATCH] kernel: exit: cleanup release_thread() Thread-Index: AQHYs2yILqAnWShL9EWzOAU1IN8ne624EWIQ Date: Sat, 20 Aug 2022 17:42:15 +0000 Message-ID: References: <20220819014406.32266-1-wangkefeng.wang@huawei.com> In-Reply-To: <20220819014406.32266-1-wangkefeng.wang@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bed88a74-80a3-4dc7-cab6-08da82d351f9 x-ms-traffictypediagnostic: BL3PR02MB8148:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AV5EpvqBt2N2cXDr9uiewpurSUtlKfTxImlHstq/Aokz6os5kyjrwF+AbNqotkCqy/Re5l+MIrvjNbhbPMdmw3PtqSYC+6TtX/sK0JDTQJP6IbwEF7MAoHLO1XU1EcCCGGYneSVu7WsefeXd1ydxzEZEIx9fueFXHCEwHjihzEYn+BwO0MoeshN+WfIXxdg6RxtKw84I4j8kJdNCtmNhS9MOwXVPJBPPyl1NyVgRkQoUDey4G3eXuJZzXLzTTcr9SqbWvHxZ6bZ59k1Y6hmYiuHklEfJSyAYcjK4Bk4ov+xPRdtT6TS9VLqWKvDOH2AXHBDbcwzcO+libHJq/ljUfTbqE92P1R3vuoeIOMSllgrfk+XtJfWe2fAWg69Cp26bd/goLFrrMZdeeE/L0mZihtkN0Le+H6hzfWWai2erb5ET6JtEcjO2rOejmrYf7r9wNYC4LdVxS0mg7J0p9l5k08D51iv658YMepE7KVeZ3FHoCuViuyHVYTNwpEvvU8fNY0AIABrnkQwrHP104ho3Qw9aPIj2ecMNEJSE7CF06XENQqlVEvxZKRlWAtZoO81/1bCrOVfGYYGwYGEEzU9BZqXYDsh9wDMBbp14zGI6YhZM4Z6pIIpPtszH4iX/of4RkLvXAL3JcQCKApEIfxifItmK1Cx0sskJK+9kBaQHZLbwE+0Fl+Hw/JZFezZPu0eiIktohpqhEWmNJN02X4PvSFrIsgEJe+pb3LPDl9p7CC8HFcApMlM0f08yMGTyh3swYedqDchXY6Xpyt5oQsAlY/FzqEzfyvHZ74jH4HNcIXk= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN7PR02MB4194.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(366004)(396003)(346002)(39860400002)(136003)(41300700001)(7366002)(66946007)(558084003)(921005)(71200400001)(7406005)(76116006)(110136005)(316002)(478600001)(64756008)(66476007)(52536014)(55016003)(1191002)(2906002)(8936002)(8676002)(66446008)(66556008)(26005)(9686003)(38070700005)(7416002)(86362001)(186003)(33656002)(6506007)(7696005)(5660300002)(122000001)(83380400001)(38100700002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?akyGtmscOlZZT3WBv5SUQIeSEesAeC+pYGYMwuAVcNW7JrL8YYZ3vOTK37uR?= =?us-ascii?Q?b4H5o/SsQkIAMMytEbRn+Exm89f3cOoGULISlKRhFfVXxTFkW2lT6fQ1aP1x?= =?us-ascii?Q?/UtR1q83wjC10yKpiXWOFFgMylVLnbVbA6aMiZoLLjajlb07wPPluQCEU8UF?= =?us-ascii?Q?9FuCGOKGWO1czdYy6dSmevIRVjl3T2U+kOpjcSZt7CfGIK0afIhrUx82MNwe?= =?us-ascii?Q?bYKKjVcwDeo4qDkDSwTLAkunYX0CBxOQc/p0yrFoDM3y0cYcZNg2g7jUkZY+?= =?us-ascii?Q?pHALKntnyVxunguoqqSHBujUyv/hECsjHXXKb/aDiaC1G93jtKps7zOHm4uQ?= =?us-ascii?Q?0ACwc3xq4WSVy0L9G/HBScIA22XUSlmJ+hegRYY5OBZydlHMvXH4Er/3inIL?= =?us-ascii?Q?c3iCh6Q4Qgwk2mr09s9wu9JuSOr9WWcwyQPkeT51UY4jccBIV/oERRkA2qcG?= =?us-ascii?Q?KfASbp3VnRjIYJk2z81FiRoHhbCPBTsr2ySjgX/WrrYg/AVH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BjRhEQhJF27ImAfpCmY1ffCfC5b3+?= =?us-ascii?Q?z9JGRgsyzPVnk80e5EQWUrjWyevkriHVlKFxsVgPHHm2DdPvKvJgwxoRVqqn?= =?us-ascii?Q?7DraPzYAK4l/jcIgrK/XJvUXEEYTI2op5rh8Zb0zHcIg/NR1s7sOI67i2yMn?= =?us-ascii?Q?mPlAa9fPXmSg05r6XQfh365ddNBIDKH9VYqQarmu?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: quicinc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN7PR02MB4194.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bed88a74-80a3-4dc7-cab6-08da82d351f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Aug 2022 17:42:15.1225 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0oaknIDsXyHkElNkKnjLQANfm7YCArQcQUNHG2vXfTJqb3ZROPDTlQUfRFXq/qljjkpjiiy20HF2ff2l6Haa8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR02MB8148 X-Proofpoint-GUID: 7q-D4RhPhNoM_ZXhkD9rMMr5rfMoWiJM X-Proofpoint-ORIG-GUID: 7q-D4RhPhNoM_ZXhkD9rMMr5rfMoWiJM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-20_08,2022-08-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 priorityscore=1501 spamscore=0 mlxlogscore=792 malwarescore=0 phishscore=0 impostorscore=0 mlxscore=0 adultscore=0 clxscore=1011 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208200075 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Kefeng Wang ... > Only x86 has own release_thread(), introduce a new weak > release_thread() function to clean empty definitions in > other ARCHs. >=20 > Signed-off-by: Kefeng Wang > --- Acked-by: Brian Cain