Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2417035lqz; Tue, 2 Apr 2024 17:48:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWEXDp7aOK3Stgb6D9H2s2/n/7XAd2UV1TmRxxioV/J5KXLPzrf6r6tBXQQ8EhrIewco2G5vDLVEQUpoa7A7AKyHURAcYY55chE50T1JQ== X-Google-Smtp-Source: AGHT+IG3qjY8bfFgjRhO1HbuMst1q1BJG8Bajl94Kcppbx3W8Q/zPtUc3aU930i0NJqQtKhsJXmt X-Received: by 2002:a05:6000:d12:b0:33d:73de:cd95 with SMTP id dt18-20020a0560000d1200b0033d73decd95mr2515503wrb.17.1712105306667; Tue, 02 Apr 2024 17:48:26 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t10-20020a1709063e4a00b00a4668973ad8si6018761eji.648.2024.04.02.17.48.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 17:48:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128892-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=o1CokUMC; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-128892-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128892-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=windriver.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 66E911F246DA for ; Wed, 3 Apr 2024 00:38:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67E1663C8; Wed, 3 Apr 2024 00:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=windriver.com header.i=@windriver.com header.b="o1CokUMC" Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3EF5A17C8 for ; Wed, 3 Apr 2024 00:38:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.178.238 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712104701; cv=fail; b=MJlz6O+76z4oQcxH5uxbkwMD4fhwweXLagUsCVIvrF4KhOS9QJQfyXMjm4omNQSw0vUWixGbdWbFHDtlTW39GApM0g4VySkR/Vdyw7VdLAr0u/uJOY9ilhO9x4LhDn2IddQC8p0rQaru9eoeZ2iCHJtI7L7eEXlA958CC/xH+P8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712104701; c=relaxed/simple; bh=DApWLmh6wzAa0jn6zwBM2hxUDYQHSzxuy3JdV04opWw=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=ExJoKR9Zz/TxFikTH25pE1uE08742eYnC1QI6mdemyihkYLCZHqPR/NU2XogBjSHBi61Deyim5+qUv2Iu61nCkBR8vjiRLoEXfa9TlxWzgRKguZeJomm2valONOgs7i1CGlNRFebVaXoFQLyKozc0T+aTdYyCtmRwoKhkQ5mRUI= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=windriver.com; spf=pass smtp.mailfrom=windriver.com; dkim=pass (2048-bit key) header.d=windriver.com header.i=@windriver.com header.b=o1CokUMC; arc=fail smtp.client-ip=205.220.178.238 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=windriver.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=windriver.com Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4330F3K5002391; Wed, 3 Apr 2024 00:37:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=from:to:cc:subject:date:message-id:references:in-reply-to :content-type:content-transfer-encoding:mime-version; s= PPS06212021; bh=DApWLmh6wzAa0jn6zwBM2hxUDYQHSzxuy3JdV04opWw=; b= o1CokUMCSwFOCYDVa0uID28xS/6hV8+W70ym8mHmodH+fsrJ57t3FLounKbEmsRr DJS9lKab8DqJ9WQ4E5Qs4BS8q0ilUPeDxa1nxH7bxnL/cr5mwxTTbTYSTX3CdCqK 81u3RlnSqUsvr0QS7I9Y5RL7Kph4Gb1Z3h+Nbq95a3qFJZvkBZsCsz8ydX/QAmWw hMzrMJdj6wfBKaVR+aJolN2nU24eE1m3+NGaZKAoC+hFdOcb4jerbcNYNMVQYKr7 gXqDk2hZZqvAu6Oo+zuZ8XgH74fvZbkczD1ZRr3/0ttsIDGaH1p19Q/pN+ihvYZ2 T+4xbWst2veQqmhm7fq/Mw== Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2100.outbound.protection.outlook.com [104.47.55.100]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 3x67xy3w3b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Apr 2024 00:37:37 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M19M+sPDMjbSnt8AA6gBhGRabfVUZWwjqROJU5AMWWYzH1TIs/vTxntacA7utWUTYv2RXAXQ+6gxx/blcUQCOTSaR6G74FKRI1baoDToNAaG0zpbwdev7YzpoOKgKpRsE6fsZH98U7rmwRBJmZheJelFLpHOlZx+SZF0XI9ivjYPYaPSj0h6cLsT+h0cOYPTDklqnBp5SKgBSFSHxPOvo4t7NyDqiauJ4Vvmf42TW25o/bY6DwC8dbbqnXCqZXOhIGJWL0Nelyh1t/XflldHUMW4YbsvoGHY6WQQWrc+38MRexuF7QAinAOxpp8LnsxuSIpDx2Hkykgm3+/CglM7Xg== 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=DApWLmh6wzAa0jn6zwBM2hxUDYQHSzxuy3JdV04opWw=; b=DtH+g/rRPKFM4Jt1yjQy/CZM4Dbcfyza6udbKXKkNvfNQ+5yzqV9fENNBu4VLirgRc1xKq6Z4GQJtGVqDpoemtcFNCVYkRiHGn37CuNFVO4RiRkzVBtV7PCBJmuPaYVo/6Xv9rw+exIK/zybiOP59XuPu1eO6+3LqAH4RbgerQOnh+lZL8np8PJuI+JoQfPfyesiFa05B2PG7NEQkPFIio15JTf/gQghRKlTCeLlY8iuCFtGM5oO5tRJuA55qQuO7Qu/F5A6JwJU7n+KM4L0sXhbf391415MzrP4s88vEbibzFvrZN/1QJOdVlwl7r6UuZ+t3nX/iINSuECmh1n9TQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from PH0PR11MB5192.namprd11.prod.outlook.com (2603:10b6:510:3b::9) by SJ1PR11MB6084.namprd11.prod.outlook.com (2603:10b6:a03:489::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.25; Wed, 3 Apr 2024 00:37:26 +0000 Received: from PH0PR11MB5192.namprd11.prod.outlook.com ([fe80::8cb4:86ac:461a:d683]) by PH0PR11MB5192.namprd11.prod.outlook.com ([fe80::8cb4:86ac:461a:d683%4]) with mapi id 15.20.7452.019; Wed, 3 Apr 2024 00:37:26 +0000 From: "Song, Xiongwei" To: Vlastimil Babka , "rientjes@google.com" , "cl@linux.com" , "penberg@kernel.org" , "iamjoonsoo.kim@lge.com" , "akpm@linux-foundation.org" , "roman.gushchin@linux.dev" , "42.hyeyoo@gmail.com" <42.hyeyoo@gmail.com> CC: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "chengming.zhou@linux.dev" Subject: RE: [PATCH 3/4] mm/slub: simplify get_partial_node() Thread-Topic: [PATCH 3/4] mm/slub: simplify get_partial_node() Thread-Index: AQHagxH5to6e/r7juEWuwAcLekH5VbFUvd4AgADzXhA= Date: Wed, 3 Apr 2024 00:37:25 +0000 Message-ID: References: <20240331021926.2732572-1-xiongwei.song@windriver.com> <20240331021926.2732572-4-xiongwei.song@windriver.com> <69089796-9a3b-41a1-9b7c-18c773b96aa2@suse.cz> In-Reply-To: <69089796-9a3b-41a1-9b7c-18c773b96aa2@suse.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5192:EE_|SJ1PR11MB6084:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +QfyOxkoi5qhZooZ3sSTg+0ewmamI9jMn7RlM6mpR1rjyxgFf8CjTUYd0kwl6/eeUD3c6ojOWBPa838cMWWc45+FLFsVtC6d2Gzh2zvDVD2J80zJ8sHZp3MejM/top6yfNFkyhBWAIUmz/ghJful3RYbhXbHnWN6cuHXvYW2DoCVX8341Z9VWwPG3egDDq4+s9DiR+JaRc+1CvOxE1yU9Eyl294//ZKH60jz2SD4rRDU5yCqnwdlx8pq9W1ntlpjWERDybX9n2RAxngmDt94C+51HWnilQSKZIdPQymyC1qYvRfhQxqL7A1iMyOD5L5YZ9f9LMK7jVwoTRllMbAvW6KyazWdfOpjJTx0v5t4fa/vWCatQV3CuFmPxw5KZvBZtyKblxpYfSA9vHcZm1fwXx3djpu3nsjfQo/LDo3hSgrc94SvYJC1enCw9k4hKwYXdwLSgqc46f0PNJOe+mCfpS6G04BKp/+VUvEGWX34fyNG51u7r8d16hIKmBmdrdA5yOD8f1TrXxwN7plFVODb5EitAvLeSPGwHoBFg569om/3fwhytPYbY7t/4XXafA/g29Wl2ikWQhMEpkdHd45idVsdhdzUkWzPzCXeRkpk+AYBYocBinSYynHkOcIbmEjQT1LGDkc89pwZJjxJR8gGXH/+i0DMflK7c2d+qwcests= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5192.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(7416005)(376005)(366007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TjVOZ2dreXhvT1E0cUk4L0VqcHAyZU90Mk5KeWkwRzkyZE9jT0orMmU4cDFI?= =?utf-8?B?a0Qzb1V1R1RDYnpSK1NYUjZCcW1LUU12b0RrdlViSVd4c2dPOW9JUGtOVXRV?= =?utf-8?B?a2Z1Um5WTU41NzE5MkZnaDMwWncwL1lsSUdyeWtWekNDRzBzSkFrMmZuM01H?= =?utf-8?B?eG1UOEMyTlVuUEFPMlZpOTZ6dHptVVVmNEZuNElRQVROVnVCbDFxU0hmT3Zt?= =?utf-8?B?ZlQ1NzdpMWZmTDErOEZnUHdTNzA4YXliZ2I1TWNwMTkrMFR1dmRsVEs1b05q?= =?utf-8?B?Z2YwdzJHQjc4T3FjQlpGK2J6czBLTitkbjhnU2FZOGIzS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hydUNQNk9JbkpzYVBtdmJJek1EdVlSeTI4dzZZRy9KK1N0OEVTdTVt?= =?utf-8?B?M3c9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5192.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba722ff2-5f7a-4210-157c-08dc53763c26 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2024 00:37:26.0054 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4+67DiyPerwaTx9FYcEtftHCMPsHJsOGPgDuNlS9P0dJi++Y8zoOjazqbjH9M+XheJZpAi5ZxE5X/CWhY2HWxOLt21MUNu+JRyOBn3lqMmg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR11MB6084 X-Proofpoint-GUID: Hdd0gHStn9t6miPouXknazLRWqv5RDCp X-Proofpoint-ORIG-GUID: Hdd0gHStn9t6miPouXknazLRWqv5RDCp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-02_16,2024-04-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 clxscore=1015 suspectscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2404030002 PiANCj4gT24g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