From patchwork Fri Aug 30 11:39:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zhiguojiang X-Patchwork-Id: 13785020 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B4A0CA0FE5 for ; Fri, 30 Aug 2024 11:40:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A0B0E6B0126; Fri, 30 Aug 2024 07:40:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 96B586B0127; Fri, 30 Aug 2024 07:40:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 796AC6B0128; Fri, 30 Aug 2024 07:40:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 534F16B0126 for ; Fri, 30 Aug 2024 07:40:19 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 01E38A7A79 for ; Fri, 30 Aug 2024 11:40:18 +0000 (UTC) X-FDA: 82508718558.16.4B0D725 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2066.outbound.protection.outlook.com [40.107.215.66]) by imf29.hostedemail.com (Postfix) with ESMTP id A203A12000B for ; Fri, 30 Aug 2024 11:40:15 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=vivo.com header.s=selector2 header.b=qRKCeAKq; spf=pass (imf29.hostedemail.com: domain of justinjiang@vivo.com designates 40.107.215.66 as permitted sender) smtp.mailfrom=justinjiang@vivo.com; dmarc=pass (policy=quarantine) header.from=vivo.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1725017945; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=XTa84qFUhH6TIbpbH/KZRjiQgDWvuNe9omEg8s75/JE=; b=C1f+8/AyokTrm5jLJ4P6VKA6tE+rDd5W3QQjwau6W7+7LVccKH82fxK7HLprhoajO39IiM zY2XY/BYbtEIhaN1jnNtamGwFxe07DPulg7KNevPbfWQqP+E6WnOGscoJIdSIErbb0rx2l s4i+eAng1SZwj9ES5woDpSQhksf8E6g= ARC-Authentication-Results: i=2; imf29.hostedemail.com; dkim=pass header.d=vivo.com header.s=selector2 header.b=qRKCeAKq; spf=pass (imf29.hostedemail.com: domain of justinjiang@vivo.com designates 40.107.215.66 as permitted sender) smtp.mailfrom=justinjiang@vivo.com; dmarc=pass (policy=quarantine) header.from=vivo.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1725017945; a=rsa-sha256; cv=pass; b=rTxSVKpcGQNaCgcHBeQoaG8h3eh4wRj+PS8vDGDukXQhlrRF11Of3layf08Cz8atMkFoZP KscD+683M9c+ZHkCQut7dZ48V2dQ8mr/h+kcA3jFGXZos2OOfrRAmrejsbhFd4CyYtjLVl +7F+URUOAt2oEO+OKCgD9Lh+XkUbdKU= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fncxkJT8Qoc4Co83sJlXOH4xZbeU0q+Wz7yDNAMJ/NnhV8hFbjG18k8Er4xSRrhOfvGnIH3WGDRDJVMw5i2E8dvg4XrnyUWgA5c1qcfdtseTlwF6Wddv6oCR4r7R3hF8KlMMb4rQTUUBQrIswo2k2Wq5+L6am0+aRCTU9w9G/dTUinpU2Q42cNqxlyGg1ch4bIwVPRNSeMSzNyJNqr1Y+yJKs/ooTvi+ZDW8gTdxQqNI1Ef8tfvhRAobfM7lHBdk8hM/vn9oD2xmR5PkT3nhnNEZwHlPl42hPeKJPDz22MGUiFaBuXBFvdQjALeuv5CP7CM2jDCIzsiiC0DKKPnMQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=XTa84qFUhH6TIbpbH/KZRjiQgDWvuNe9omEg8s75/JE=; b=fhQEN+vV2YGqcaf6vK/JnLDxvDWH1FKdnwInee+JrvsLK7S8MLNA1Ere3+uI2IaNsQPd1qRlLMkZX4utZBtO4p4kZTBaZI4a0N52rNw9+fTWtAIeTdbG6eUPZk9WhU2vZsTdY8gqQe3RW2vKysGEKAjuUY/uYsArW3W9WvNAWYjtCXbBsVM4l60TYCcq2katusSMf346Yf7gBOMGwPC0syd/y1RS6xEWUr2OFSAx+dqJFkStpt2bHFiczno0JMN4p6ZFoGFPsFYwDEpPTXXV2iEhjSzlFsOVgT/KYSyhdE/gVQXp8QtsAInZxTSV2cgzqfjkl4wwbGHvDc56BTr53g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XTa84qFUhH6TIbpbH/KZRjiQgDWvuNe9omEg8s75/JE=; b=qRKCeAKq3tkdYamktF35uQxITyiIko18ptXy7GrXLsaWdQSp7C8MTsV6FBMsQYyRMoUwwNiBVazQpYcI10jtQkTbp0jR/XcEAXYpKwofQtZW9S2lc8WYnDpYCtS4YdtlohRfJfS8j6XR+VP1ckzrmizW+ZToG6qy5asyC3TAGPok7XDwYvUs46OfYoZE8/Ew5ZTcYGshS8c5wlKwgSbZxRUS77KLiqPfcjMBezdThcVMXpxQ2BT2brA37g6XNiSH6LfvxGWadI9NN8tlToPxahaYvokCxsSmEB/1HJvKjsHWpogaILtBU7MUo7slJi3WjaCkvyAQlOxMiEZjwZkohA== Received: from JH0PR06MB6849.apcprd06.prod.outlook.com (2603:1096:990:47::12) by TYSPR06MB6898.apcprd06.prod.outlook.com (2603:1096:400:468::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.28; Fri, 30 Aug 2024 11:40:07 +0000 Received: from JH0PR06MB6849.apcprd06.prod.outlook.com ([fe80::ed24:a6cd:d489:c5ed]) by JH0PR06MB6849.apcprd06.prod.outlook.com ([fe80::ed24:a6cd:d489:c5ed%3]) with mapi id 15.20.7897.027; Fri, 30 Aug 2024 11:40:06 +0000 From: Zhiguo Jiang To: Andrew Morton , Uladzislau Rezki , Christoph Hellwig , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: opensource.kernel@vivo.com, Zhiguo Jiang Subject: [PATCH] mm: fix vmalloc memcg accounting issue Date: Fri, 30 Aug 2024 19:39:56 +0800 Message-ID: <20240830113956.1355-1-justinjiang@vivo.com> X-Mailer: git-send-email 2.41.0.windows.3 X-ClientProxiedBy: SI2P153CA0028.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::9) To JH0PR06MB6849.apcprd06.prod.outlook.com (2603:1096:990:47::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: JH0PR06MB6849:EE_|TYSPR06MB6898:EE_ X-MS-Office365-Filtering-Correlation-Id: 83561913-239d-42c6-aadc-08dcc8e87e91 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: Gf65yrE6UmzP3o7jyQxrpijmWfYrcNQ5//e/TARaDkYh07kRJEpiaxUepUBz8zoCZe8Kc64002qsRDTNBwglNANYgnlSCENhIHZQMhr4bBZ1kIWJTx0h1it1+DA5nAv2Ia+zDawC7cHSgMpHP5SEOhbzPSpAo4+yQqvlfs+gmNpqb2BOGIecyISct/m39o7IvE25YvqsO2SJ2r5hXP3MnDz3cnanCYn7196R3TnKThtXIEvfRpzpxC7pZqUNpbd/2wDi555qxJM+Pvfoel0aJ7v8s2stux14HPNTsBFOj81HWT9WZyzsoVh8/Zega1E8q9XBIxZvl3AtZXpZql7rvNB75GOMMZoiEBDU7cvohroVpUFJ2kXGsPIDwqMi076laRI+/Hr59cCAlOhFr+Oww+7w6kVypWDyv2N444q6AGJCXGlvWKeK4GbdaJkCFY4jrBAgNBlpWwmbMk0rArwORgGCnnFgQvtzQXLwgqMWZ1uVc9yLKK2SBjY9T15Z5TQ3R/6PpjRZRizLZbODtBSvcUUsYKK04RHY5KE0sQWzGhyH92mRQ6382sur2yn3C3Nk2z/xyQfllR1L+KtmSeORVe3wiGOC+9sNNb58uW7ih1KDvvrzbgEycBGsl+21CierjES77W/CBit/7DVV+vh2O2vpxUOdRyKiO2eBJBmRHQOnYtkzVJiM6PKcV1Mxr7pFwu3Ye7bBw4dTT4eh6TowfvYVHSpZaONXrxuCCBydCpLWDiVXnSqk60CKQ38cw4bFrHvuGw6UdhbH2u6c0/KjZsWiz91Bb909dJSybcYWLc2bNRjhzNtgXJ560CNte9B1qncosLdHhmDz/EKWS56TFyYzRzoYjAsccVbbRWdEi5cmhdmQ+WPEVMvq4vVG9HNBFOjpWwGFlBfOmwwOfLpYle8w8eBrrjIp93OBD6pQmZyDoz4KAONRDias0lXJtuN3cGOzuSxREis5Z6n8orPIP16dBq/qAuWMDdPniXPKl4Bbv9FMUuZfPoPfi1LN5nlCpf2W0K0vA1gKxf53/Mo9dBaE8k2sOiaVHHxe6AMaJJ/8QP1jehEN1kgVAcbrikMrHntVSN1pNnWf8gFasCrlMI1hBDMkYd+gpO8tFQsIxoZPT8/rTuG1CKM//mIauo3VRTjQOjQ8vTxZ+OMPNfbkePuUvUHR1X8pcsuI+J3oAQq1RjOxE2rXevT63vBr3AVTXvioT89K66o20zvkgChFwVLL8bGspcdngTQ7GrSDEm0rtj1kwn8AznTjGTrBhwe4CJUeVqGC7k73Gh6CPyGBp3Qxge3rD3Cxe4hIsEGpC0RrGAreuacMlnNsptWk7aAE4sMw5POwm7+X7j68AAzvr0/UwDIb5zAR6Fo0o3alU5g5//sLWCxX323ckruMxNEu/H8RYeDWoLNJ8u/6vGOIlQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:JH0PR06MB6849.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5wE1tN9+Pi/IbeWO+rZdrwhi4/HrBbS/045GOW24QTPDsRpsXFTUhcadYe67go7Q95FOjm9AD2R1fLjzh8sCrojX0CtxoSoqEkp1jcgdMs9bvR8cZRRCWc8b+hxsEs4POV43r4mTcFu596LmeamGBbc3QcDyMQpBvrgLfUxpB6bKCN+H5TcmtGmGw69deP/NJ7V9bYgts9WW8pEDMSIZABPbvzjKmfQJpk/oR9Nh191q9zuqW1Wfeoo2UsWGTALMJsvSfux0WmvcvMoJM0U2KHdGdBYYxm16yDuwvNv2Rqo9QKEireK8LrDEHtdULyFrS/6K3Mg7POR2+VcHeJJWeYFRVUYsuHoLvkLN/4+Lo8nJhfB4Z/IzXjdA+fanjjbIHEYlvnjRkzyqvZwVUJHbza6dalzKIOUayAV+kvlZQgvRMg76LRZ5QYS9eGEYjEU88SbRIvMQHOCJj0RRiJ0Z9+m2CQIYclnmc056QDy0nqR9FOyDitRFmxrvDfhMBbq6umu9/INJRYkAy8MLjfotKpZAq4TOh42dS68HIbkqrJPMuaF9TRSYT6wXYPFSQjFI/HibeIJReonltg183oa2WK5BvXBdJfLMpZSPit2ca8A6lguqRi+O+qxTgY7bvIaiX6Di+1tLQTSZAt6M9d+1OJxQ6fKC5OzVOSLuldjQUypqJb84EPbi3qH7v7XerIz4IJYSzje5/k0pZ/haGfZaixzjtvlvrXNGfoB2jYSK7AD+dwz/PLM5HYm4sZNew4e3tRjra7sV7+BdughbMTDW3JtGsOxL/y4scCMsgcVVjt0W141BMZVYso4m6QT48B2Ice4i/hFM4EYkDECnRViWtIEvKL7CioYWqHxczoRv1cqhW2t9DtRo5ZhwUg4ikJb8OXlAMzaOEB+Cs+umtCTVXo1NzI8lU3gfrk3jo2Pc684tGX1CTNDbgOBXDj0yHDea/mkk69mgTL1AGIRp8SA8N633Ei1G+hDB2Ux+i40Ojrel7BDBGzijZF1UQpNc/nx2HJF4gW7Ua3b1y4ABqf7HErkpzArOrA3LG8JbbArXVVlM9kW30BigDMGZ0L5Co5pmk53ag2bMD4dGs9L8UFR2Gmq5YF0rNjsEOG3OmDSrKAsI1ieIpIlZtxmqT/9PxqbUAvlNSUaZMoDc8jJJbww5WRtXmojq9cyEW2tAhkNls03cQ/shIWXgnY9V7Wf8ck+gHxawCamB5aaQYxR2F8mA2h62y5xAO2YsvCooTXl3VX15ZnkXAuhJIXEACBdtPHFFLWP1/HCoDzX475sLHcsq90VTZ7/BRPQ+NLkXSv3s52GfEmNkl42hU/8o9ZtNIHVaiP3EW1bVq7jl38MY6vkdQoC8sXi9jUWAeEgG43cnCPGPys0fdQwI6rAZMJhFO8cPBXZG5/vQJHLuuQb4ZxrYiazctwLeIA8Mk5tDy9j3/mMZClFluBuO4aqCSqpfKESQZOIMowV85v5uEmBeeDoRVf9jX4wIWvgTjLR730U2E6AvEe970NiiItN9quP3rjN+sskZn+Tk+7MInZqoZjTXmh+Fb+cILanhIqHEw7VCuwdqJw0E6Nb/zv5g06sSTpWU X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 83561913-239d-42c6-aadc-08dcc8e87e91 X-MS-Exchange-CrossTenant-AuthSource: JH0PR06MB6849.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2024 11:40:06.2281 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PLM25dY4qVwV7OK0ekGqVg3djFF6SiMztgNAWhpt6DDR5vsQYWefGgDY8h4SzN2VIVaGpbDos/dsTNhEr8S1Gg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR06MB6898 X-Stat-Signature: z3edwnhfr6bsxitj6ih7u4bn46p7kdck X-Rspam-User: X-Rspamd-Queue-Id: A203A12000B X-Rspamd-Server: rspam02 X-HE-Tag: 1725018015-672132 X-HE-Meta: U2FsdGVkX19RXh+VzEReFO+cSzC7Wxlh3wmc2xy7ZjUiohn6ejd5ad3JCYRaajh8bPbM/N1mWk+Ewh+S1kBYoqF72j3KwRB5ZpCk9t0TZ1ns+rg3ia4LbMyC+GJmY8EWdCuy/rmAfFxjC67u//nSzrJhUzKmDHAClsP6dVZYySif3dpXjK7pmcY+fVSRS3quTrWfez97zLotmfq5qM18L1SnjewIgViY+cSLug4Hta4W30zvzoLT+fsygn8Qkm9v2ROHEGHgNDIZX6lLohTVdgPykf5qQ1mNZNrlydtFCLQ/0hB2aw6HTEJErxWH4tAGkYZdEH64/wvcSjYGkprjdYiX+itYNwEQ141E1YEDc+PC6g7P+yMzcDLGQxnzWuWHnRlM6OXSOpyI7Z5E1hn9yqs8xY8pmNd8/ke3O8jVsj5mToxRJbhgwnjPbF8eWvAi608Uje2/MX+4KukOFUkWzncoosLuDQNBo6Y6UGP8slHljLjJqhkUOMNZgpicoEpRsBhzKHSDAIUd8SVij8arX9QEOJ+o23XvY09FmN0oYTf8HRgDrWIHkTeUemJvjetB2ZbyRgNtisnL4Otb9U2sGBaxRJ3iX0o6zamFwZM8qziIEWLCmK9HikwyAz/FtwGtz7X3ioeN8ecDQVghJdkXHOna97/CTtlmCNfceZD+lFowiNQDO2ub39LiUO45mcwXLElZ/DKSUBEEwC02la+DH9kp/mV5fAb0DmI0AGNZbIkAMmsOq/co0VcjFA/kI51M1gF63FBaX/65t72nfwEdzaPSZimSM5waL3yNUYBnY5Rj/C/66Ulxj3zmm2+U6uzYClClIoZqfYrVKQX2bH3pDFEv9esP7DhCqak7aOU+QgQISVtZXZoigdhHC1+aVW3rdr3VZsNAFaw2Lyo9obsvrWsz+Phx8P3wcRa8PtqNC75V80fcip7/t9Pz/ivEesmJgRLL79JVs6G/bgpsnRI Z8mxNoTJ mblt6cfyEsKMzRms+CvZrVDUQyrYVIUeG/1icAzIdvyID7EPzt3ZyUeDhNmnlHI5Gys7VmSz408iO6iqm4Q7sepzy7T3NBwZ+jmi/70lRK6ZRSjB3cpX/aP/Tq4h7ttf9MdwsfsT8d46vna3UVFY24qbeInBQLpV5euxMNM5EUkKViaWFz7Innb3bKPh9Sct/zCf8vvL7yxQStagLL30BfwRAjHkQIR0afVpoC2R+v3IEYI7G/Mi0QbymTY7N7wrSitJfWTmSbM65kGBM3B+D+yFt2nF1CRlKyUJO X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: The oepration of adding 1 for the MEMCG_VMALLOC count value has a judgment "if (gfp_mask & __GFP_ACCOUNT)" in vmalloc(), but subtracting 1 does not have this judgment in vfree(), which leads to the non-aligned count value operation. This patch fixes this issue. Signed-off-by: Zhiguo Jiang --- include/linux/vmalloc.h | 1 + mm/vmalloc.c | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index ad2ce7a6ab7a..0253feec371f --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h @@ -38,6 +38,7 @@ struct iov_iter; /* in uio.h */ #define VM_DEFER_KMEMLEAK 0 #endif #define VM_SPARSE 0x00001000 /* sparse vm_area. not all pages are present. */ +#define VM_MEMCG_ACCOUNT 0x00002000 /* mark vm pages alloced with __GFP_ACCOUNT for memcg accounting. */ /* bits [20..32] reserved for arch specific ioremap internals */ diff --git a/mm/vmalloc.c b/mm/vmalloc.c index d977c280b1c4..aff1bf7a8798 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -3125,6 +3125,12 @@ static struct vm_struct *__get_vm_area_node(unsigned long size, size += PAGE_SIZE; area->flags = flags; + /* + * Set memcg accounting flag in vm_struct, used for + * vfree() align vmalloc here. + */ + if (gfp_mask & __GFP_ACCOUNT) + area->flags |= VM_MEMCG_ACCOUNT; area->caller = caller; va = alloc_vmap_area(size, align, start, end, node, gfp_mask, 0, area); @@ -3367,7 +3373,9 @@ void vfree(const void *addr) struct page *page = vm->pages[i]; BUG_ON(!page); - mod_memcg_page_state(page, MEMCG_VMALLOC, -1); + + if (vm->flags & VM_MEMCG_ACCOUNT) + mod_memcg_page_state(page, MEMCG_VMALLOC, -1); /* * High-order allocs for huge vmallocs are split, so * can be freed as an array of order-0 allocations @@ -3662,7 +3670,7 @@ static void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask, node, page_order, nr_small_pages, area->pages); atomic_long_add(area->nr_pages, &nr_vmalloc_pages); - if (gfp_mask & __GFP_ACCOUNT) { + if (area->flags & VM_MEMCG_ACCOUNT) { int i; for (i = 0; i < area->nr_pages; i++) @@ -3813,7 +3821,6 @@ void *__vmalloc_node_range_noprof(unsigned long size, unsigned long align, } goto fail; } - /* * Prepare arguments for __vmalloc_area_node() and * kasan_unpoison_vmalloc().