Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753830AbdGXUHG (ORCPT ); Mon, 24 Jul 2017 16:07:06 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:42939 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752862AbdGXUFD (ORCPT ); Mon, 24 Jul 2017 16:05:03 -0400 Date: Mon, 24 Jul 2017 16:04:47 -0400 From: Dennis Zhou To: Tejun Heo CC: Christoph Lameter , , , , Dennis Zhou Subject: Re: [PATCH 05/10] percpu: change reserved_size to end page aligned Message-ID: <20170724200446.GA91613@dennisz-mbp.dhcp.thefacebook.com> References: <20170716022315.19892-1-dennisz@fb.com> <20170716022315.19892-6-dennisz@fb.com> <20170717164650.GJ3519177@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20170717164650.GJ3519177@devbig577.frc2.facebook.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [2620:10d:c091:200::2:3425] X-ClientProxiedBy: DM5PR19CA0039.namprd19.prod.outlook.com (10.173.167.153) To SN1PR15MB0512.namprd15.prod.outlook.com (10.163.205.30) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8b559562-5600-4074-363d-08d4d2cf4113 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:SN1PR15MB0512; X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0512;3:4vGbU4WM9Hl859/kWUU2jGQ2AP7Qb1k7lgcdBAkHMuGJ5AM//VXKjDaCJkqi9seeOx2Le6JUHxdTor7zcykAJ9ZPPeFJCbSngY3ERGNChKL+a0zPGfohUMg7Ouk3QJvszKdf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lK86mcUioCLW6jVHYvcYULq5C3pc9tNYNEIs1dvrv0Aj/BtxTtwl6GcqzaZ+WqCMnSgKx3/xkJG1SeEa42cMMXDpvnHw79mJ5V/lXTIEiauB0HDmnTiq975nfHFGT9+8QlraULBXEwj6EmLrgCL/aiEW1Js/BAviHXA9sVD9kddvNtiGaSFQURKEY4+HrgAPM= X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0512;20:WzFjH8J5fixtPZS2oyClBxjhloIeHDLjpfZzdW4UbJLCe5PEsAsIQvcQr3nr/v1PFlAztadAC/1dQnCrnzpkxq60O1MM6fm0ZX4w2Bk6YBejXis7TJrAYOhaMwiSetUr8CyXTGKsquE/2nLJfqbldwVYV6eEZNXSgMf8+Zdj7d2iSHCsEvr+p4JrShcof350Nmv6oDPcGgyFJ/pdIenMyIbIjeKvXxYyFzNu0fWD4Ev7zfMu6DNeakWz2qXhAYO/bs530Gdqwzo863nwDpCK7kjnW3OomxuLP9tdtSlsYk8mEDgORuIymO/Ts4WmivsUua9SZMRW/sTbBgthYj3cmlKBElO6f558Dodoi2vPE/G3MJ4GEvKpaHFLDvBFnNfPUtYaoiJl2Td86+Dp88tUU+p6/POlsMPiprLrHDscx0xZqNcpulzs83TIEv29lI5LZ2UOJEtEY8B7TlZaI7Jb/Ad9kwF0jBCHg0qyJZHcYWc060LreoLHIbElXK7NIbwJ 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)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201703061421075)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN1PR15MB0512;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN1PR15MB0512; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR15MB0512;4:xmhqTPMVj3lYl1fEUeGVanyhxQI7Pdu5ark2cLOUZm?= =?us-ascii?Q?av0JjGs5lucax+cNKLT52+voaFu5D07+q4LOsvvFWDzP2t+N5G3zwEdUzi2O?= =?us-ascii?Q?ZvQysQgNrnq79SVfWrqiPY+yrlt1KeNr9aON3eUK4LAC88IaAXr6+dfMKnjz?= =?us-ascii?Q?X0lDUMm5q+4QVmAbxU1YYxnaxCAfmksclqb21f8TxlUFYnZzLYg+47TylMrQ?= =?us-ascii?Q?Ud2T5hsU7IqH09m5pnzH+omrCYuEJYJvQFDwAU5qHSRIkmEsQ1r0aJXHrtz+?= =?us-ascii?Q?+zJBSQpIt55ssasure1N/P1MxGH41kb9H+o75Mm1UMaSZDYuM/sK2YIv0cz/?= =?us-ascii?Q?qjw2sJSfJVhJY18u50EvND6nrJRo+Y4Fs0G74lKIsZqD5DxT364VjSSPzO6z?= =?us-ascii?Q?cU0+W7NVL4swQojvCvUu/jJ9vYfH1Mj9DVxFrDPyr6qe9mCIISlRVwJF72kM?= =?us-ascii?Q?nqh+gsb+e2sy9VpWg/In4cnE7THV8txFIyzPEb2mg4pRws1cOZnGz4LFI08d?= =?us-ascii?Q?50dmNhTYNqfkU/ZKZACwst7t6RMKfCBUmoSsEcX2PJws5wrDgBE7zfIqcNTA?= =?us-ascii?Q?6cqbIWrJ10edHw6/X7xkiKl5/+uYZ4MNGo0HRYJgjtb4//2Yu1ATcc11FRS/?= =?us-ascii?Q?1d2zViYovtbAzU2SUgIhTIjeHTbIHKd6sXeMqsKM4RkMcd4o+L6gtNIDA+L1?= =?us-ascii?Q?wtFRqEKZJH0rUVJYi4gI5UbvdRhmyGUcImxgtqnknDMUWwnTmxm9tDsNaATt?= =?us-ascii?Q?JKFfv0WL1cYTl5mNhHLK5JUvc1lf13E0fsumUdk0xiIqHa0C75W55UheghGn?= =?us-ascii?Q?U/1psHVrRnwZ5PepxIpuwPuFM40rzdegHa6sMXPqjvsLKHUuj/eWgwzNgI7r?= =?us-ascii?Q?AfQl54TvqZfTl/CwKOCiosOIcpXRviljvlizvtUy06+2ZqjaJKc/2lK9wf9c?= =?us-ascii?Q?x/4d2VKB1kR8jVJEFavYmDSjbtrnEDoO81YQdVsqyXkuJfxAXrUrtokT71Zt?= =?us-ascii?Q?i+iMKrt3zz2IwgXj7ZcKyHsg9SUu9XYsSsykIGaxEHnYbKSPSurJUG/Wj2d/?= =?us-ascii?Q?HUrdWCnadM8stMQIKVVthb4Gki?= X-Forefront-PRVS: 0378F1E47A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(7370300001)(4630300001)(6009001)(39450400003)(39400400002)(189002)(24454002)(199003)(4001350100001)(305945005)(97736004)(7736002)(47776003)(6916009)(68736007)(2950100002)(81166006)(6666003)(8676002)(508600001)(83506001)(81156014)(33656002)(2906002)(50986999)(76176999)(54356999)(4326008)(101416001)(189998001)(50466002)(55016002)(229853002)(54906002)(9686003)(1076002)(106356001)(6116002)(105586002)(23726003)(7350300001)(5660300001)(6506006)(6246003)(38730400002)(86362001)(25786009)(110136004)(42186005)(53936002)(18370500001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR15MB0512;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;SN1PR15MB0512;23:cyGiDUVLZOZFCdtkrMQ0H2AGw+UtWuVAuXci7wFVC?= =?us-ascii?Q?ayj8SRJupLUvEb05tuQ2DJ32IXZR7UCJLDHbFIAkTDRvKd6WiFffpd7u7r47?= =?us-ascii?Q?+weNjJF7GQ3GV4TWc/O4NRwxLUrI+qGt2WHYX+P37I1crgvbZ8/fcEaTgiYR?= =?us-ascii?Q?PgRiMEb8L/vrqyEaW5p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wFaVY2xNDOSJW2rgYJKdipijmmU6k9eRnoK6AJCKkcBNg0f1A+QIOJp0BP3WSxgG1gRSw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0512;7:f18mh4BdHJnfPkWIdXmVTxYjkSN4YNRiwOWQ6lVWNVTgAzi/IUejG2RfGbQHcGvFCkmWBtjkSaorNR5xqziIhv83vPLkzTylcGRc+TDLrfkhY/XPYd00KxIpu7IRUGS+5DQGU+YvGdaFqYCBbowO5sJwiU3K3OzC/P5lciGEQkMlU3XGCd14Mj9zHhU5MX62wwTLFQWJi0bn0sBUUbegZ/MTpN1LQLJjDrxGaaQEbAVOuN++XgQP7pdrtcYITCrbFlHCP9YX343TM1mSHbeTqPTKNRehQVBCgCYre5nmrArjMdPWHS1wQmhWz6mamtLnuAor7RxNPKD4OGi3g3DoufR/dG5PevtKuJfmg5HzuyFYdTfa4S46cG8rCO/7uFxU7ebIas/FOJ99QaREVxY4Q5nfCjhhTTJvgCVTawG4NmUoISjAnN52hBwPzvrMUBhC5KEKx/307C1fU3wrQUr2CXiSvhd4xLy5VRdEZWvUDPk7R5t19gj9EYBfhcaeVxPALf655zmbLj4jNl87Xu71j3BFHhSCjvct1hxzrVXuEPJgd54tjU8Ec59/lC9ISpJfmEiondziqky3F22U4o3GeMMv6DOFONDR/rpJYoOr84ZEvdREJjcRSWJi+7Dv/YQV0l1GsT8VWyXslWh/X8Lv9JU5SNtzESRrKTM+J3FX/izbYVG8Xo1iFpdNOEw6JIiGZcopqK/Oiom8irmHJ0A/Yexd8yf+adBDwwBdUkAaRkcJUTU2SZ8wrIuc93nEkKjJhy0kXtSVMLBgacJ1RW6Mhiny6T12LbAO3RSnuGeiTgs= X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0512;20:zTfCrde49mskm9WnnWI+bAvfUi4oe3axC2rsHwANbXFW0NiBUvGWCHxuxiO2TYnzMQhMxxvL+DieNxuPa9Px1cXE2AygWijtdIpwo7OWzkxHerusVsQPYnOz/R7b+ikms0KidPHnKduwYkhmnsKcyFW0nwHaQv/1aqU3XYuKs+o= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 20:04:54.9966 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR15MB0512 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: 1268 Lines: 26 Hi Tejun, On Mon, Jul 17, 2017 at 12:46:50PM -0400, Tejun Heo wrote: > Heh, that was pretty difficult to parse, but here's my question. So, > we're expanding reserved area so that its end aligns to page boundary > which is completely fine. We may end up with reserved area which is a > bit larger than specified but no big deal. However, we can't do the > same thing with the boundary between the static and reserved chunks, > so instead we pull down the start of the reserved area and mark off > the overwrapping area, which is fine too. > > My question is why we're doing one thing for the end of reserved area > while we need to do a different thing for the beginning of it. Can't > we do the same thing in both cases? ie. for the both boundaries > between static and reserved, and reserved and dynamic, pull down the > start to the page boundary and mark the overlapping areas used? I've refactored the code to maintain start and end offsets. This removes the need to expand the reserved region. There are a few more constraints though. The reserved region must be a multiple of the minimum allocation size. The static region and dynamic region are expanded and shrunk respectively to maintain alignment with the minimum allocation size. Thanks, Dennis