Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752805AbdGXUOK (ORCPT ); Mon, 24 Jul 2017 16:14:10 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:41717 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751729AbdGXUNy (ORCPT ); Mon, 24 Jul 2017 16:13:54 -0400 Date: Mon, 24 Jul 2017 16:13:42 -0400 From: Dennis Zhou To: Tejun Heo CC: Christoph Lameter , , , , Dennis Zhou Subject: Re: [PATCH 08/10] percpu: change the number of pages marked in the first_chunk bitmaps Message-ID: <20170724201341.GC91613@dennisz-mbp.dhcp.thefacebook.com> References: <20170716022315.19892-1-dennisz@fb.com> <20170716022315.19892-9-dennisz@fb.com> <20170717192602.GB585283@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20170717192602.GB585283@devbig577.frc2.facebook.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [2620:10d:c091:200::2:3425] X-ClientProxiedBy: CY4PR16CA0045.namprd16.prod.outlook.com (10.171.216.32) To BLUPR15MB0500.namprd15.prod.outlook.com (10.163.214.30) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 41d34e3c-7c33-48e0-60e6-08d4d2d07ed3 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BLUPR15MB0500; X-Microsoft-Exchange-Diagnostics: 1;BLUPR15MB0500;3:x+HK4OvS7A0VPjUo4hOWIPYIiRVh8X9hJl0aUJ+hzAUJySnqxD5Qd2dH0ngZ6KxYllV4zvQrbWzCIfe/JjAl9UZ4MQBTtDlUBXYoe26mfyKLPJQGiXkAXn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S6BJGGFZp0es4G89YRvvO0a0f1WLJx2RhP5uNoQq9GyJr8i7Uw+HVlb+//j4431RuNeZt5Mz8rk96BM8O1bsmED0BiLIkRsXwS70hquYrDyvbAoC1LFl7kE9pehPj8vgsslegoD77FJc2NYEwXvzlst1f/Lyp8ygySxNwdiUhOAXgazXRlELS5/mDM= X-Microsoft-Exchange-Diagnostics: 1;BLUPR15MB0500;20:Xcqp+bZ+I2cWVcXE8KhCrBhcXxmovS9Zk69paPV/aibL1olBFKOvJZZWt9qNOuEJ4NspadlESMrFgWg3IieNqFx7flajD0L666b6nSuJQgfJ21To3yNfMndEhPzuBWHMdSj3J5SRLvVVTkKyxmzIVSrvlUyYes76BwZT3q9tfrQ31z73i2kcHyWYfFtE/daVSoFM8JcKcHjfDW0ea27R7Hjx6ZA3xMGMjJZx9y++YJTOtDVFJDqiHYUV/AdXQwav5d9fYjxQEts9Q1iZNHtubm0/u0yd58+ir57o+HH0V+YgdcMEQpOjzwgW12gTMoMndOFTlvxLHa6mefyUpBPWjAw+/Fk3Jy8OAivte57UwEEQs1dWFCq0aTyh0gvhD/4cb8I68nNdcn0XV4DRbFvcK2jUmVmfCVK5e/ylZ+79rQVMbsk5QpMyTUrK4OZCFSbwD83d1Rr/JsEY0h33lydYzCJZbJU6f4IS4k1FMsHtozawzquu0SEtmcr2Zc00K7gf X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123564025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BLUPR15MB0500;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BLUPR15MB0500; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR15MB0500;4:pR2pVxJvBaYWuKI06HwSJUX+nQHc80MR+v5AAm+Z38?= =?us-ascii?Q?R4XClBQ6qgnvRazJjFfYZ+lmPya3M7VhW/ii36nvo73cs6pV7F/RDCh9lgqY?= =?us-ascii?Q?JpSfJ3i0p7MEy4dDEELHET1+rOXEqnBIxPygeeGi8eQWOd+fvDhu4ei7FYz5?= =?us-ascii?Q?tDyemHykWVAl36YAXMt8QOvzzTntt8jpTPUHOhSl9BDQw3VcphAXDB5hfwGC?= =?us-ascii?Q?9GC2ErWTwTm6hWeRaLOc5+CIAEc0ksoL5I0UguFdcaLo72t4Loddi71HieUP?= =?us-ascii?Q?0HyxRpWa0UnIuMRjIresfuM1u+T6YDE2cG0UJ1u16279N2ZrsUWUFvRtB6/S?= =?us-ascii?Q?m3qgP1FR1Gws5bN8jJ8ZoVE5+6L8skWv+hYFny8CZgoGVOkZQF4HwBa5ul8E?= =?us-ascii?Q?BK7GAMDVkOXRHLKYBk1GgxO3ZaV9hnidgI6cUrqAOTPHoETkTm53w+wDLTxg?= =?us-ascii?Q?xmfFKNa2jxcRFacDX+pqzFwZAq1GWCiTWeka7KMam3FZa1AvBpSpS8jj7SHZ?= =?us-ascii?Q?T65B8L6iJReEATlOFx5fSjsZ9CO+Ld417JUeGqfkgKSuE7cdl+IlRjeHFKpV?= =?us-ascii?Q?1xQmN/qsFuFR4KlpoPaaAlJY3K2u4YPR0d2hRFZuhmJWSpzLG5+HmNreHDGC?= =?us-ascii?Q?wXN2kCkXd5gMZLz84geG19pjXZY0rtsSEWCWg3GK6jd9C4AqT+V0Oeoc5MSr?= =?us-ascii?Q?t7naqST5eaJNONXT6bsC8BXbYLVJNWCFCn1YxIPouwFK6hW6YGsrWF6SWz09?= =?us-ascii?Q?NrASHiV1Y2iZvTE4WBbpp2clSzb7Cy5zRB0PYQt60lcOSTUTKLulNwe24KsT?= =?us-ascii?Q?7ZLwfw8kbLmiUcb7NDoQAKwQ/NiuBuv2cUKQhixtjcanflMUZyxS5oAYgcJl?= =?us-ascii?Q?V3bMrEH858kXBDZaSwAq3XodQO1PA6AhcaAyGAgd+NyV+Glf6isN4hYbRXHd?= =?us-ascii?Q?83v0A2csJGDa5rbvgXze6HlyIqICyboQNF3rFJ7z1YspQXBtmJPcpvPpQ1P8?= =?us-ascii?Q?tMd2CkEL2Mz7wPmm/Hcqt9H5mvHNC7OganZPQ19z0J2X56g0V2xqaN3D6D2M?= =?us-ascii?Q?8ANHNGN1MKB1nXbcO5qeMa+78IxFp9yKYmVjl0cWI7xF7xHAo4j8HRXZ6h6t?= =?us-ascii?Q?58NED/xpJL1SUnxvC1UZEDq2/VoTZK?= X-Forefront-PRVS: 0378F1E47A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6009001)(39840400002)(39850400002)(39410400002)(39400400002)(39450400003)(24454002)(189002)(199003)(38730400002)(54906002)(105586002)(25786009)(6666003)(7736002)(6246003)(305945005)(50466002)(55016002)(106356001)(9686003)(83506001)(478600001)(4001350100001)(47776003)(189998001)(4326008)(110136004)(42186005)(6916009)(68736007)(97736004)(2950100002)(76176999)(86362001)(33656002)(7350300001)(8676002)(229853002)(6506006)(23726003)(2906002)(54356999)(50986999)(53936002)(6116002)(101416001)(1076002)(81166006)(5660300001)(81156014)(18370500001);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR15MB0500;H:dennisz-mbp.dhcp.thefacebook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR15MB0500;23:dVBZUNgxTZUqPYApvsiUmB099bPurzFK9fufhS5Ox?= =?us-ascii?Q?HWVSSIXP15rh99UoPw+jDGj/ZDg3gIzkYBDfkw4ik1OcdtoDNZccctrOhfLC?=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pqjkhDBBtFx1A4fGPg3S9xtPc76cGuNIFza6?= =?us-ascii?Q?EXx3/A58ur3I9qgeVIKUf1yY09cgv7DCOIZEfZOnRDs68Y9M4lNnfnmHZFYB?= =?us-ascii?Q?gZJmQJyG1nkuzQojy9NdVFRIw53v0oMQhIlpCo1tOlJ8qLyLKpbjA79vhw1x?= =?us-ascii?Q?toNyuZsaXdVIhrQrHlfPdZnDOXZSpkHApedaXV54EtucLaMx5/bCXW1PQSGu?= =?us-ascii?Q?hnGEEYNHjJytAQD+us/A3Tu9qs+us1zJddZwoMJw2btqPUYZe4Nv/7G5KK2G?= =?us-ascii?Q?y0J/babm8JFCk9TZaV33wpk7uN4XRT3vTjsI0Zz1H96b5slIRYjWGRsAiFMc?= =?us-ascii?Q?WZQZNUtgko93SGUTdRJ7nIWwKWqUBd3rxq/0nUHx4GL?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR15MB0500;6:ivhieoLG3ytNW5JoZEYzuK2sh+v0Nj6/c4sFN+DsWZ?= =?us-ascii?Q?QHuTk4s+qbty2hpXW7a2eF4kLzRx4lzb1d+T4NIALERyWkOVKoALIOfZ5zJy?= =?us-ascii?Q?iFXmtFSGFQ7zyVFgTM4OKQWoIT7HTromOwJGRGPIt0HwVH3/e8Qbgp8JKz0H?= =?us-ascii?Q?al4Z+yZ+QiWIEXV+rOBtJPqt2anZZgr9YI1rnb4hczOuccHKblB3boyUDwa7?= =?us-ascii?Q?+YBml4HC5gPOVc79yCFLlprFGwgnkWxpu7zTzr+7lLNaUUspkzG++C8su9Hy?= =?us-ascii?Q?TVeUxd/tNgUpNQWADn/LSmNY3yNFvp3ClCQdM9yG7kVTu6QuTSccjWSD13um?= =?us-ascii?Q?4yqocP8U7VEv6Cn7dIFfesoVa6RT4Gq/3KoIdltvyTvbfkzQLa7cExiWO+PM?= =?us-ascii?Q?aO0agCi0+fI09RolKX72dYKcasPYE2/uJcwsButN4qNiRAXnilArD0RBjv3O?= =?us-ascii?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ynOvQzOy+4XpZUctCaqMK0F3wdfkn7ID4SQUrEdd0KxZvG5NzNKqj5y6pY5BflV/pQiOhfDZ6I= X-Microsoft-Exchange-Diagnostics: 1;BLUPR15MB0500;20:IkrrHfxUHnAG72zP+iQ8odW3DuuK9tTsBh09rdLbmwcj58yIPy6yNwZRCYXwcPvdXjOlwU6kdFeOiPC3WDasg+tml8joQJRSBq0vXEHII9+sgOvqKGQ2H/nKUzKwetEfRfxG2ENUvlfoVaKvbGdqUzhpfui+/D+bBHjdngW7lyU= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 20:13:47.4291 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR15MB0500 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-24_12:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2064 Lines: 45 On Mon, Jul 17, 2017 at 03:26:02PM -0400, Tejun Heo wrote: > > This patch changes the allocator to only mark allocated pages for the > > region the population bitmap is used for. Prior, the bitmap was marked > > completely used as the first chunk was allocated and immutable. This is > > misleading because the first chunk may not be completely filled. > > Additionally, with moving the base_addr up in the previous patch, the > > population map no longer corresponds to what is being checked. > > This in isolation makes sense although the rationale isn't clear from > the description. Is it a mere cleanup or is this needed to enable > further changes? This change is clean up to make sure there is no misunderstanding between what part of the bitmap actually is meaningful and the actual size of the bitmap. > > pcpu_nr_empty_pop_pages is used to ensure there are a handful of free > > pages around to serve atomic allocations. A new field, nr_empty_pop_pages, > > is added to the pcpu_chunk struct to keep track of the number of empty > > pages. This field is needed as the number of empty populated pages is > > globally kept track of and deltas are used to update it. This new field > > is exposed in percpu_stats. > > But I can't see why this is being added or why this is in the same > patch with the previous change. > I've split this out into another patch. > > Now that chunk->nr_pages is the number of pages the chunk is serving, it > > is nice to use this in the work function for population and freeing of > > chunks rather than use the global variable pcpu_unit_pages. > > The same goes for the above part. It's fine to collect misc changes > into a patch when they're trivial and related in some ways but the > content of this patch seems a bit random. This change is needed in the same patch because chunk->nr_populated no longer is set to pcpu_unit_pages. The checks would check the dynamic chunk and then try to populate. Those checks should be checking against the size of the region being served which is nr_pages. Thanks, Dennis