Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7360AC433EF for ; Tue, 21 Dec 2021 05:46:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233060AbhLUFqV (ORCPT ); Tue, 21 Dec 2021 00:46:21 -0500 Received: from mail-bn8nam08lp2049.outbound.protection.outlook.com ([104.47.74.49]:6125 "EHLO NAM04-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229964AbhLUFqU (ORCPT ); Tue, 21 Dec 2021 00:46:20 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oBTA34aKq7bfJVPXyZeBtK/VHDrxhPN/LA2yjWknjdFqDZuul8YZcdSvv1n6ElPJudy/U8zgNFPUq0+xVG2GyEXLsdV9QZ48pJQjk/HsNgsy5PfHRSCYXcX2lSe3PZgGBZrkvmPkGrseX/KpUxEQvWS54BoMTW0ZxwWLH2VKuU8sZCk2M26HVLFBsiWPpCvPj81g3dsFTvxgvzaaDosUFV3wvR6WqGQLf7P/PZ8wzQu+qpgrMxR/TSIuFw9xWDOF0Lcs0Piy8rTMWuw7UpoBsVMJM+fxvOVt8Cfx+teI5EP2rqiPkxHvHO6RWmptChQ8VR5D8lDMPwoT7De2ur5uFg== 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=CqFaYVmqXM7syhOW0Lfp9/EnvqZKg7dMIOvPDxrwAz4=; b=Qp/hj6Ghvf2Q/19mjfcd1bUfn8CF8FR3LrjBb/n6rr5e2vDiqNkavTBLV1mvOxQK+dgCyzw2Zd4kUk4dM4q230JX+x07d3KB8h5j/6czVCqnvxyrlhhi7zjnjSNSjNEa73VSyURfVb+WJlc2IpEMQADHbYVf5ZwbWrw4xIK9wJ12sDx5wX7Ilfla1lFOAvVoQgV+9z2+Cfe7TBtiSHkNMaZiDVeIlx6ScKmMbCUVEOlqnF5xLz6nDt6BYDydpS/9APDNVWFRf/mmgCKm41ObUlbI+CmT145l7Ahr7jygTx2FMeKbFFlTHDgh7ax6m5NB3bhMmTinsdYsmbujRq3w+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CqFaYVmqXM7syhOW0Lfp9/EnvqZKg7dMIOvPDxrwAz4=; b=CxsgVa+7o6HBupxps6GP6fXr3+7lO9sqLV0SYVAsEThbFnzRIGbknB7nCHsOd6rdS/ejcU1iUu2mM4RYlT6mQPMpPMsm0luFXL3t/aH+zQQp29gBv4jJgSSEspiIfCwUmqNbTivWFYVemFKEOOrFBKdq+mBO9HNmcmLYVtYOjLk= Received: from MWHPR05MB3648.namprd05.prod.outlook.com (2603:10b6:301:45::23) by BL0PR05MB4835.namprd05.prod.outlook.com (2603:10b6:208:56::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.14; Tue, 21 Dec 2021 05:46:17 +0000 Received: from MWHPR05MB3648.namprd05.prod.outlook.com ([fe80::6929:b34e:d8b9:70bc]) by MWHPR05MB3648.namprd05.prod.outlook.com ([fe80::6929:b34e:d8b9:70bc%4]) with mapi id 15.20.4823.014; Tue, 21 Dec 2021 05:46:16 +0000 From: Alexey Makhalov To: Michal Hocko CC: Dennis Zhou , Eric Dumazet , "linux-mm@kvack.org" , Andrew Morton , David Hildenbrand , Oscar Salvador , Tejun Heo , Christoph Lameter , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" Subject: Re: [PATCH v3] mm: fix panic in __alloc_pages Thread-Topic: [PATCH v3] mm: fix panic in __alloc_pages Thread-Index: AQHX1N5+lqzX5/9/hUCR9L+z9tfLRKv6c74AgAD9U4CAAB7tAIAADZWAgAnMHQCAAIIHgIAAufyAgAJfDQCAHgMmAIABcMIAgAEjF4CAAGztgIAAC/IAgAAHxwCAAAeTgIAAM82AgABcswCAAO2MgIALPnkAgAVLzQA= Date: Tue, 21 Dec 2021 05:46:16 +0000 Message-ID: References: <77BCF61E-224F-435D-8620-670C9E874A9A@vmware.com> <2291C572-3B22-4BE5-8C7A-0D6A4609547B@vmware.com> <7D1564FA-5AC6-47F3-BC5A-A11716CD40F2@vmware.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.55.21111400 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 358aadce-fcfc-4942-ac69-08d9c44534e5 x-ms-traffictypediagnostic: BL0PR05MB4835:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rSiGe/JxSN0cwTr8dvA2/R1FiO7HxUjECBGrrIpckahNlny59QTWG828aWtxupwLRPOwOi0doi09lDzVCY9bakf4p9UCqSS2Z2R6AVVxN/+f2K30TUUxiDsXnBiLxtUDkW2txDo+todzUPZyKtIgT026EtioYhHKVMg7oKbNKCcYoM33rGEOBtIJz81l40FbecSbAhpw3bUyIoBSad8ccV4S7IEVNKKCbAR4ACl5dUMFANOdnad1LXgano6TMSjJkw8ol+R8Z/5yplH7g0ND6Ju0e+P70rkgBQRkb7fpZzoDL3TqM63RdBSD6DgN80cP8Vx7EWgEWb3j7Wu4WchvHps3ktgZ6qFZJTBXH/cX5zFg/w/dRv5Et3K0TA7rlqKCyqCG9mJQs3gIUjVck2/5NK3vZkhICE9uiXDzSIFU4npV57MDD6t/wCzuw+RZbnmLv0YMXOTwV5Ezv9boLitNIIirVZbin5pGFK3KQEFFHGirX+U1/7qG34/IighIzO4ZOxlFP7/SbLn3d1Rs5z43GPYPLEFPRm7Fa7LMN5YgnTSLlLg8z2dQcOZ2wSoM2CmAVL2OIf5m3gjvl4Ng2iSpCSM62Uj7/5cxBxfbO3g5Vy29l8O6o79x0+V0q7eSoQwsCLSArOblHbOrE/6j+aS61cR93MW6yAACRBuhuGFO+OA//51iz+pYV7dKUjbqSwBBNp1JJSB94fatr0UjCHslErJlc2baYlWg7rF7aHtUdn0= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR05MB3648.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(26005)(186003)(2616005)(36756003)(38100700002)(122000001)(2906002)(6512007)(33656002)(7416002)(4744005)(5660300002)(8676002)(66446008)(64756008)(86362001)(4326008)(66476007)(38070700005)(6486002)(71200400001)(6506007)(66556008)(66946007)(91956017)(76116006)(316002)(508600001)(54906003)(8936002)(6916009)(45980500001)(20210929001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VitGeHN4UklhWnIzc3BsLzEzakxPMjdLZmZlOTdUQThnc21TOFV1QUljczdw?= =?utf-8?B?N25VQUthR2N6Zzg3R1d5clFtK3NhWDhIZ2NhQjllOW9FTElpVDl2Wm4rd0J0?= =?utf-8?B?UjZrWUx0aURDa21ockFUQ2wvNkMraXcrZU9BemN2YmdIY21XZjFFYXF0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GL1JJREt1cUdCTjZ3S291NFdDWGJ6akV5VnZ5NkxXK3hEby9k?= =?utf-8?B?ZlZCUGdEMXlCZDkveUFRenJRaFo0a2NXOHNGbXkxT2NWT1p4R2dMQ0grY2gz?= =?utf-8?B?NTIxenBPY1dsSTF2MTJOSVJsa3MvaGppSEw1TWRGL0dJZHFmK2JoejdYODR2?= =?utf-8?B?S0RjK3NnbkRQYWFNTE51bFp5NUdJV1BSS29KUlJadEtMRjhtQmJTS0xuQ1I5?= =?utf-8?Q?6uibcjSVCA1ND24botlO/Expz8enqlQVQEfBdJhMxLNP?= Content-Type: text/plain; charset="utf-8" Content-ID: <7CF73094123CA34EA7CCFAC57E14EE4F@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR05MB3648.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 358aadce-fcfc-4942-ac69-08d9c44534e5 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2021 05:46:16.7796 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8C/8CthGI1C6NDgHnUoTlF5KKv6Yqztn+N/k1PzLWWhE/opQOtJ3+s91s134bcNzmvnqDkzuuunX0dlEVGyZ8g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR05MB4835 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWljaGFsLA0KDQpUaGUgcGF0Y2hzZXQgbG9va3MgZ29vZCB0byBtZS4gSSBkaWRu4oCZdCBm aW5kIGFueSBpc3N1ZXMgZHVyaW5nIHRoZSB0ZXN0aW5nLg0KSSBoYXZlIG9uZSBjb25jZXJuIHJl Z2FyZGluZyBkbWVzZyBvdXRwdXQuIERvIHlvdSB0aGluayB0aGlzIG1lc3NhZ2luZyBpcw0KdmFs aWQgaWYgcG9zc2libGUgbm9kZSBpcyBub3QgeWV0IHByZXNlbnQ/DQpPciBpcyBpdCBvbmx5IHRo ZSBpc3N1ZSBmb3IgdmlydHVhbCBtYWNoaW5lcz8NCg0KICBOb2RlIFhYIHVuaW5pdGlhbGl6ZWQg YnkgdGhlIHBsYXRmb3JtLiBQbGVhc2UgcmVwb3J0IHdpdGggYm9vdCBkbWVzZy4NCiAgSW5pdG1l bSBzZXR1cCBub2RlIFhYIFttZW0gMHgwMDAwMDAwMDAwMDAwMDAwLTB4MDAwMDAwMDAwMDAwMDAw MF0NCg0KVGhhbmtzLA0K4oCUQWxleGV5DQoNCg0K