Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp1179253imb; Sat, 2 Mar 2019 05:50:05 -0800 (PST) X-Google-Smtp-Source: AHgI3IZvdpSxYpWmxZPaqyrqM7o6R1lh0DG7a/iwzW32jhjBaKpXvgURc9Jz4bQKT8GZ9hNRmVSr X-Received: by 2002:a62:e204:: with SMTP id a4mr10738365pfi.225.1551534605737; Sat, 02 Mar 2019 05:50:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551534605; cv=none; d=google.com; s=arc-20160816; b=Gr8Yl0EB4jlRi0athHYys8htSefLzR/aldLfLMOodP279ckF7iYSl2wcQgaOggpf/P 7JDObuZiUHGP2qrzf53iV9r2nfxYlTCUnmrFEPhhmJKiLZjSY8sO4z5cq0B0qt5/jkTI vkLgQ8w4BxE63ukOAnVBtBoDDSRsUZPKFNSw3EVRSvpLMGZTYY/WVBMpG3/EwWkfCiCK y0MAk/EC8JsP3KuXYav2N1C9ZCVXdjrUx8q9nBOp/VUPB2tfq3i9uT2u9X5DV5aUVz9p P6/eiDohRYgogPKVLKEzqGnaOvmyTQtKru08lohlgF1Z/B+Bll0c3Hy2dFXEbJQGIz+a 9q1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=zykTx7N7nntqgGmmjdaPjlTkahbZ/HG4ZXMHdHiwkcQ=; b=zGpYZxmr4/ZEKxIutfqvQonm5k08Ju4lPM2TtHQAJfAIu3STgiXQVL0Agn8csauzlM C8/kY1fMdNuZul1kvW4S7DxoEeWTY1o6j0U5QJaMCGn5w1yI7NR82AzixHHXkDBM7iIA 73u+gEb0NCPkOGlMavtV0LQn0rmKljpWxc7nrhxpsJtW/F2bk0wKVxd2SQR5g9neQ+g+ hCeizIUOiRzymrjCBcslr3kDVW6zGL8ASI+/inbVm0CDKOg4TmMivauNtP9s4gBDcOwz 3lfYYm2F08kopbojJRNOvJkg852GGc5Wfk0cvhfdWDEddA8W6dldHRQsZ7lvU7yGriRn Egyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=jhSG3MGH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2si751480pgl.30.2019.03.02.05.49.50; Sat, 02 Mar 2019 05:50:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=jhSG3MGH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726963AbfCBNtH (ORCPT + 99 others); Sat, 2 Mar 2019 08:49:07 -0500 Received: from mail-eopbgr10065.outbound.protection.outlook.com ([40.107.1.65]:44164 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726384AbfCBNtG (ORCPT ); Sat, 2 Mar 2019 08:49:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zykTx7N7nntqgGmmjdaPjlTkahbZ/HG4ZXMHdHiwkcQ=; b=jhSG3MGHfmgYnFz4W0cLXx0ybpVHdGMvjuTSyFtMEloVb8J3uPY2UFxDgZgJSmznO1riD5CdEIOB2tekfY06VEjqSRYR7Wha6H3XhnSyRkt2DviQuFW9S/YBSfz/MrVtdh4lozFJ95pYKfw8trw1Eaw8E4R9CUkVkDgR3M4GV9Q= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB4257.eurprd04.prod.outlook.com (52.134.124.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.16; Sat, 2 Mar 2019 13:48:21 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::a51f:134d:b530:f185]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::a51f:134d:b530:f185%5]) with mapi id 15.20.1665.019; Sat, 2 Mar 2019 13:48:21 +0000 From: Peng Fan To: Dennis Zhou , Tejun Heo , Christoph Lameter CC: Vlad Buslov , "kernel-team@fb.com" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 04/12] percpu: manage chunks based on contig_bits instead of free_bytes Thread-Topic: [PATCH 04/12] percpu: manage chunks based on contig_bits instead of free_bytes Thread-Index: AQHUzwv2qzl7fj3BX0OARXhmoz6omaX4XeFQ Date: Sat, 2 Mar 2019 13:48:20 +0000 Message-ID: References: <20190228021839.55779-1-dennis@kernel.org> <20190228021839.55779-5-dennis@kernel.org> In-Reply-To: <20190228021839.55779-5-dennis@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-originating-ip: [119.31.174.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1c8bbfd1-f117-442f-2f4b-08d69f15bbaa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4257; x-ms-traffictypediagnostic: AM0PR04MB4257: x-microsoft-exchange-diagnostics: =?gb2312?B?MTtBTTBQUjA0TUI0MjU3OzIzOmI5ZTNSaWE1bms2ZVFRYnh2ZjJrM2RCUWhI?= =?gb2312?B?MlluRTB2ZjZEUFFWSkc5bG8xSmY1dDFmNGNrZFk4OS9rMnRaM1l2eTduNlNV?= =?gb2312?B?THJ4aHUvVGxPbWxDeDd0WHRaZzJZeGJsL0dkd0p5TjZUeFFuN1Z5UFNhYzdZ?= =?gb2312?B?VE1BN2V0dlRBNFBraWhydmJrKytKa1h6SVhNbG1SdUJab1RhZDkxVjRyN2NS?= =?gb2312?B?WUl0blgrejllMXZlMko3NmtwbXc5SlNZMkt1a2I0TUxvNHdOZzZ1OTBwZlFO?= =?gb2312?B?enNkSlh4RmR1WVFudUxpWHZMbjNHTFUySkxqU0U5dTNMV3htT01tNWUwTTh2?= =?gb2312?B?NmRNU2FlRC82QlJCbVVEM0ZwTkJ2ODdoem9ucldBMUxqakRuYklNZmNpUGlE?= =?gb2312?B?ektxNXQ5c000dXM2dTFpeko5WTV5RGNnT2RkNUJhUDVHMWYrdEZZMFhlQWg2?= =?gb2312?B?UmxWb1NpckUvZitWRXhIaDdCTmdsUWd5dEhiSnA4Y1NVVytRQmJBamY4eHM5?= =?gb2312?B?dFI4YStrZHh0WEplSG5oVXl2cENPR0xCQldsWTl3b2lYeThLdGRuVUdtbWZE?= =?gb2312?B?a1pCSXFkNHFVOEI1YnVrM255Wjd2Tnc1MWhJcFo4dUFSM21kOXgrWTd6U0tU?= =?gb2312?B?VjhWeTI2RWkvN3NRNkZmcDV5RFBUOVpXblVwVEJmL1NvaDM5cXhCU1hUOEM4?= =?gb2312?B?R2hZYlZWd0hiY1RZdVlBbVpaa0duVm9SZW11TmQ4MjMxQ1lyZEx4TlhFUEVl?= =?gb2312?B?S25LMjNlVExuS1RVRmlz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UEptUml1R0J4YlpYYnRPZmlrVXV4dWFqeHBlaFhLZGNYZk5M?= =?gb2312?B?ODg0aG42VHg4aGw4cTE3Zz09?= x-microsoft-antispam-prvs: x-forefront-prvs: 09645BAC66 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(396003)(136003)(346002)(39860400002)(13464003)(199004)(189003)(316002)(99286004)(26005)(76176011)(54906003)(478600001)(110136005)(14454004)(102836004)(7696005)(53546011)(186003)(97736004)(4326008)(25786009)(33656002)(6506007)(6246003)(68736007)(3846002)(6116002)(9686003)(8936002)(74316002)(305945005)(105586002)(7736002)(55016002)(53936002)(2906002)(66066001)(106356001)(86362001)(81166006)(81156014)(8676002)(446003)(44832011)(486006)(229853002)(5660300002)(71200400001)(71190400001)(11346002)(476003)(256004)(6436002)(52536013)(14444005);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4257;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Kd2Dc+21m/M++bC5w2SZy8yuF6Mma2TLf43SHryyRMyMUD4Xun8q9U/hWGNVNqAiCsyWSxkfmckv19FOhVdsGY9w7pwiBzqFjNvpvjjlvHCnNcxwWH04WhbSWvupodz1qrzl6ggxn4cDzafQ2O85ktfPfJLF88a0rA1q/SRauFBHljq+QqwXEmEKJIEbrRo3VnG+MXfG0kSAIdMF9Z35NfVpbL/gMYAgrwGBDN4zjiebQwFvDHB4jDkDQAIPbRX1/BOaJa9okKkO5/fbX8ByflH5kU0ql2nt17kzwmzjp1pxpfvjLxJZ/V07x0264Xk1p4NVoHJFypTl0+AWuj5Cjcj/ybaXrRu49wVws3h7iNais250RYJKJTd2ZGcpsfUa30tMGv8uxavtr3HiRdHJaAOThcoZWE8BQqgFBEC62H0= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c8bbfd1-f117-442f-2f4b-08d69f15bbaa X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2019 13:48:20.9885 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4257 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogb3duZXItbGludXgtbW1A a3ZhY2sub3JnIFttYWlsdG86b3duZXItbGludXgtbW1Aa3ZhY2sub3JnXSBPbg0KPiBCZWhhbGYg T2YgRGVubmlzIFpob3UNCj4gU2VudDogMjAxOcTqMtTCMjjI1SAxMDoxOQ0KPiBUbzogRGVubmlz IFpob3UgPGRlbm5pc0BrZXJuZWwub3JnPjsgVGVqdW4gSGVvIDx0akBrZXJuZWwub3JnPjsgQ2hy aXN0b3BoDQo+IExhbWV0ZXIgPGNsQGxpbnV4LmNvbT4NCj4gQ2M6IFZsYWQgQnVzbG92IDx2bGFk YnVAbWVsbGFub3guY29tPjsga2VybmVsLXRlYW1AZmIuY29tOw0KPiBsaW51eC1tbUBrdmFjay5v cmc7IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmcNCj4gU3ViamVjdDogW1BBVENIIDA0LzEy XSBwZXJjcHU6IG1hbmFnZSBjaHVua3MgYmFzZWQgb24gY29udGlnX2JpdHMgaW5zdGVhZA0KPiBv ZiBmcmVlX2J5dGVzDQo+IA0KPiBXaGVuIGEgY2h1bmsgYmVjb21lcyBmcmFnbWVudGVkLCBpdCBj YW4gZW5kIHVwIGhhdmluZyBhI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