From patchwork Thu Aug 1 06:50:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zhiguojiang X-Patchwork-Id: 13749870 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 3761DC3DA4A for ; Thu, 1 Aug 2024 06:50:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BFEA66B00AA; Thu, 1 Aug 2024 02:50:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B88386B00AB; Thu, 1 Aug 2024 02:50:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9B34B6B00B1; Thu, 1 Aug 2024 02:50:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 782876B00AA for ; Thu, 1 Aug 2024 02:50:54 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 1B1EA1608F0 for ; Thu, 1 Aug 2024 06:50:54 +0000 (UTC) X-FDA: 82402754028.02.F9EFB25 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2081.outbound.protection.outlook.com [40.107.255.81]) by imf10.hostedemail.com (Postfix) with ESMTP id C37E1C0004 for ; Thu, 1 Aug 2024 06:50:50 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=vivo.com header.s=selector2 header.b=DOG10ZYx; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf10.hostedemail.com: domain of justinjiang@vivo.com designates 40.107.255.81 as permitted sender) smtp.mailfrom=justinjiang@vivo.com; dmarc=pass (policy=quarantine) header.from=vivo.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722494995; 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=sk2gYF+c0tq3zemogGai/59wQ1myWfN4IictHGRvkXI=; b=lmrIu5X5AA9PJFaWAJEqnCO6/isczRMf8/aofCxs1X9r4e34Y7cXN9o+z7T0mdUJzDX3Xw JePxgMgxjVCB3F5e3fHmfioTicyxd3Bx93zVO+alEqrv8eCHYs9O1InigwgC8Zo17Uehty vt55Ap+HJo+Y+31yQjqsCloaTiwDOWw= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1722494995; a=rsa-sha256; cv=pass; b=cSyQtF885C/wvhlztldzHVBgiK33swCO0aQo+R/I10+WB5j1SL3ODgNiIaNzpNiKTuOFl1 1HbG+L7NcUEGvAUYRMSjewNKA58sKrj5Fv+K8vgvIHHqsQJAgz04ylWJYQqj+L/iO+yeEp tAqSazJTAw/na2/b1MG3o7jhDE/c67o= ARC-Authentication-Results: i=2; imf10.hostedemail.com; dkim=pass header.d=vivo.com header.s=selector2 header.b=DOG10ZYx; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf10.hostedemail.com: domain of justinjiang@vivo.com designates 40.107.255.81 as permitted sender) smtp.mailfrom=justinjiang@vivo.com; dmarc=pass (policy=quarantine) header.from=vivo.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iwH8bPtmu0FhcIP12SISLqph0RhE+5nliY07LCkeNxPNPebPAtPRUo+Z3RUWM8o8qMFgYJ2SaqEJl9PfDtEWUuDhnZOLnbRNhl6exj88KGQK2yXTx4sSMcAEuMZbx7dDxkZioQZ8nUHUBYgdbHcMnEDk89noc/5z/1/EpsBn0nCsB6iaiX5V0T0thsQj29sLDvpYLh+JtCxK5AW96Utj5Ei8i0CMcb1b/4qP6mL3cv/BRzujltgX65FjX0RU2QxARyDx8fOORjByG+zLRNAu9NZ3GzerPpmVHZ8baWNreKITDPXqqkf0V8y2C8mldB1wag+h+i55epv6Sp/YMs/sEQ== 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=sk2gYF+c0tq3zemogGai/59wQ1myWfN4IictHGRvkXI=; b=XbmFXUoae74cCVWLeB9p0TskNNN5TC3u8lAJogqfeNrgUvdKI2QH4qijf9QYTYw+zVsjZvVwyjWVVBOsnXCqbWG2YK+H+HUQunpNs3/9yE3fjPke0CwaokdTCGLbgTV1m4/2ypkBthHbGBMtfGMHFSFTDT8pRnDSmZf12VvyuxQvC2M5WJ5ZeilB8LU7P1TYNYDmej7pxjrrK/j4JAbXpYhSC50dsrO7qkRwNvN+i+F8SAUbqd475QYn3mITsTTdCSJa3hVo6ixjUsQEtr5/XQ3vq32mHmtYooOzgHtil4BHtH786WTuEEBduqvyo68zdiG3I5hM6xl7Wy6zhNnlaw== 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=sk2gYF+c0tq3zemogGai/59wQ1myWfN4IictHGRvkXI=; b=DOG10ZYx/QQAoL9N4C3Nc3iuEKFCFGGu4VzIN8z4IR514Likph+XVHqxuInS0i65opIkqQm/LF1EgTDZQa3912AQUAt8j6PYQ1ZSXSjPLepsNmoV5IxzORo2KAe631iFnnegeWTObl23tnqiDqvxMu3mteylu6qA1A1Z0oQ+d5E8qgiAQM2JvH80o2QmK/DiYOHzA2IvPvluGUptmMlJvbMs8sLXlagy5cYHlQD6kDEjVOpbUsIISEbsNb+2S5o/y8zEbZjQKIzR4QmeuElnMCHxxas2+QDBSlrT2zuJA0Joaho6s5VIybBJY0WJ9+K2NBx/xBmKuyM+8xTD/g7oDw== Received: from JH0PR06MB6849.apcprd06.prod.outlook.com (2603:1096:990:47::12) by JH0PR06MB7326.apcprd06.prod.outlook.com (2603:1096:990:a9::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Thu, 1 Aug 2024 06:50:43 +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.7828.016; Thu, 1 Aug 2024 06:50:43 +0000 From: Zhiguo Jiang To: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Will Deacon , "Aneesh Kumar K.V" , Nick Piggin , Peter Zijlstra , Arnd Bergmann , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , linux-arch@vger.kernel.org, cgroups@vger.kernel.org, kernel test robot , Barry Song <21cnbao@gmail.com>, Zhiguo Jiang Cc: opensource.kernel@vivo.com Subject: [PATCH] mm: fix compilation warning in patchs Date: Thu, 1 Aug 2024 14:50:34 +0800 Message-ID: <20240801065035.621-1-justinjiang@vivo.com> X-Mailer: git-send-email 2.41.0.windows.3 X-ClientProxiedBy: SG3P274CA0004.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::16) To JH0PR06MB6849.apcprd06.prod.outlook.com (2603:1096:990:47::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: JH0PR06MB6849:EE_|JH0PR06MB7326:EE_ X-MS-Office365-Filtering-Correlation-Id: 3de912c4-f562-4023-eb30-08dcb1f643b9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024|7416014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: T0qCrtpKKAwA7QjLnxLRp5IVQCEKNQcQsCNRv78DEvcqxXThpuVli29ZCt5hYq7ot1LIHWJClGsbciPcv3RxDHjSuMX3KLUokdtHM3WNXNrzluehfZVZf4TCtOl3Lv3Xb4muNDNbEKHQbtgDE5sOo0jNI+9nzDpWL2Ux47UPUYzeVZ9d2lEiBtyXc8D0jJ15OWESPtm8v2tapqlQfJ1uxRDVFJuSDalxpeI4+ncxSvWJobPgChst8gqjsChngZ17m6+yefWGC29GvVYGlXKa5oK+7wSFE/ar1MW5SjNYhBK7MMz0G1G1nE5Kj/VXb3BgygwDk5d8UxNecx1aCDekPQupkqKJK2PBWF2zLPyhd3u1UUaypQpU4OpM2VBv7zJSiXLum2BB2R6hZ0QQHWEUQJsqbAApGx92IwTT99g0P6AQ7jeJCgqV/3djjghCBX59AI006PBJ6U0+b7tEko4mjW0V9jP506QI67em77/pDOnKMdOpmodevqT1smNaa/s2TXaE8CW8rXSPCXpW5BmsvgeK3UJr61tiDR2j0GP/QfcV37gnzIQZ416EoA+Q607DZXV0hhkIGiAyQFhGrishFDPbGN3FGSWbYkwX8OfD7nG+Qhi6NNQEApgA7vCSy3j5Qo74K7+Nshn19LFciVd5FHGNSajjbyxdmO12L0h6oVv33w+EdoiUKHrqw/bUekGzdAPrAUNU8OijghfRurX7Wz8YIdEeieoWTSQOmGaHHMGIRMLRWUj+8j5/1KsKkrdhBAJ4xD1aYpTy39qe6AvyjJnK7oztpI/SBQIXWUzQdkRjXRuicbbrDWvtZ3eiaQ520Un/L6QziGuNBDXmZl995/t8m+3g/50Iytdt/W+H4tdouaJLoIPo7Vj8OSk7cNvYvMNA3EUMzYsm5rBFl4vy5Crk7Or6QUETYiW8nflYhEJzAAAfgofUDMAkvL5yrSw0px6zvLKXWFDXsA9yFqRYoO1c21YgRFarjHUcHICiD/GSQn6s6ZkvYIic+iQrDXKDqZTuPfxXel2FjUO8ON1wYNSOZofi/ljg99Xugi9zWGLcaOGtXNRvfw8hHr+fr54X3qGEAX7bNRnTJwx8d50w2uI8wq+lkQLLWBllRYymHl+G1UzgaevTWbr4lgikBNfVzSx36TwSoEugtfDwMP9Dt+KTlMUjj3IgfrzeKkoz03L/Ppos7hwL+XHyaQa031UDX6mt916MBUOFJYblFrjRHt0SBKaj4KAedFs7g/sVadMbm/4ipTg3pqdyV88DeaGD5xRIHwtFZT7uyHnSxYD0HJz5ZhjgDvNGdfvHEdKsX/XnrgK78mzFAYDDQzsWJBmxFh7eXSzSF2OLR2TOJrArwiV2LDRPZMzoJz8nFVoooejofXB33Wo+qaW8znEMdiEp 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)(376014)(366016)(1800799024)(7416014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: b7yf0onOocr4JYNVOKdnh+Sl7T/XMgt70eiZJikJTGqLWQyxSRqcat9yNEuWKKWGbB4mAzwpyCW+WzJk7E7MVXAF3K01P0MGZse1+mO7xMlfyAy+ZyIj+O3kCYlk10G2ynRoscXYmBDqFdhVuGw2jroqXakyzR4n/vtv+ZTGHAc1aKcMlvbcwNNy4wB11w44LzqkS9eurw2QG49xr22S/blaHoaS2z8y3nBjk/tKHofmycnh2lCGlHPfntFW/ZG6nepv4ppmnEJSV4sUv0uh0lm9nq6U6N9bhfjqESO7UMKvjDv2FIJ8PU4HUyD1Sq0jpWhsxki1aUPO9Qe6F+7SBfUyfn9OohBSbdtaqUGurn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PNqt2bso8OH+LMmORzcs78wOb5CaJ/qgKiZ7ogLOeG4fYXGHRSn69iWjaIqlUo1qRP3WsNrADc4Y3EKRZeKzj/uCpiKhdnCjNJ5VH5oebBstFdFmQOMju6S9PUcM1krnWOHM3QH0TN41raOZ4+JKjEDQ+jArEQnHhnN1bDHz5sN X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3de912c4-f562-4023-eb30-08dcb1f643b9 X-MS-Exchange-CrossTenant-AuthSource: JH0PR06MB6849.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 06:50:43.7258 (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: ff4iWsCud+Z1IKQI1h0pdD+/8tBM6z2YHWTDJ7LDqC18ZdSozbTkYANrlPDcitWZnZluAeDU7d/V/uGpI4kvQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR06MB7326 X-Rspamd-Queue-Id: C37E1C0004 X-Stat-Signature: arr5duq6sgzujr6duq7dd5fy9sxs5hyd X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1722495050-605971 X-HE-Meta: U2FsdGVkX19cYYQUYdUV64vu9hTby+vWlgvf0dQwddNHlBFFYcIibLTXqClf+ILANyg4bQHdFDjdIXZcGREhPMbEtHpb04iSCap3KS74jh/dx09L45VD4l4y9KH2TP+r3VjCa7DzBwd8UDo9f9qEO+TK5B5iF5oUjOa2o4IRS/3od3lduNbSf+lWumdVRuDZoFXe5xfftiX1xtMCd3QTGXAlHliSZ0CpeHA7s/W1MFZ1JimNkyNNlKqX8Sz3x+MZSTmZB7PMWFBvRIMIjGzczMhw96yZfiL5rJLhfGE+4/AqryTfMbKhAuOD2oy3XnMTIfUIPKROUkWLIBerA79qbBD1rhPJxBy7qV0bx3GuyclFkyIFzaG0h8WDRXMaFMDIceXPnjcATMuImGzv9jThsramslI5kBPFgtq/VzwChXM6/6xEv/Q1gXQZkAOnDSqC2/Rnn373gtbpTl4O+BKqqJ4puQXlAoVcBVOCw9c6Two9PwwcsGBKtsgYdKwTCXYnczQ9JTbIJswAVkl3a3qeef+L5Wghkne/pDX7uNSb8M/ZeeAQtEDt4K//5iRGEbz+N+uyKkTLSVkgBAZDGwseaoqhHJS0yC+X/30OSd2H5JQ8ChhBNS9ZVk7vHVvHeZc6mxI370/PuPPd0qnJRrrWl0kYCB/BfAnfUyqB2JH5XmdmVhEZurFpobQEww19qSgDywS970zIGqcFKmX/Xb2kAZKWOf+hk/PZkvncNKM4NAy/3o83oH7JCOjai6EEsR4Afm40dvVBMzGP3sRHrHS/FcNs9uh07172BSi/6R/0LzlIXeBIYs5Pyvy8oLlCFTTkjC+TbW/KSJGtIp3hv4GiuEnWKwKCUOum4+vxqcyEl9YuoyTjtHcW/SBhPcnD+SeaJDUtm9Q7aX10w4VRNrQHEZo+RPPF9KT+EiuiFuOz5zsFmjH/NEuMgbY5YtVhInvVovhK3EUfU9sYL512tCi aQ0LJpni 05baG233SnN7HgKJ2Cpxw3Hnx2P/2e9YIDseQPWGxxbdhHqJ212afPiQfEdUtmqF3guYnrFs0s+9e+kIMKovn5HmAFVzV9xD2XTQjU66jUC8egIznWQMK6HV5cqm7F56/6B5CtEsKz7EeCbBot4ICj9rIKb1a4gae7OIGP9DkB33guBP6IDIOB8OKo3uqT8Y49NvSIABGhsOlcNz6rKX54CLIprvAcr4PMJ1XfnzsEnzi/bnh+Yuux5rG+GP56fYAYvBFv4vrOhFjBHBtGU2bCJabcP83dA/TBjgvve2eNIxk2U1oVKGf17zYyXSidLa72SR2yyTHt9Q/e4fB6TSu7g6xwQ== 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: Fix compilation warning in bellow patch. https://lore.kernel.org/linux-mm/202408010150.13yZScv6-lkp@intel.com/ Signed-off-by: Zhiguo Jiang --- | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202408010150.13yZScv6-lkp@intel.com/ mm/mmu_gather.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c index 2bb413d052bd..405383f619f5 100644 --- a/mm/mmu_gather.c +++ b/mm/mmu_gather.c @@ -51,7 +51,7 @@ */ #define NR_MIN_EXITING_PROCESSES 2 -atomic_t nr_exiting_processes = ATOMIC_INIT(0); +static atomic_t nr_exiting_processes = ATOMIC_INIT(0); static struct kmem_cache *swap_gather_cachep; static struct workqueue_struct *swapfree_wq; static DEFINE_STATIC_KEY_TRUE(tlb_swap_asyncfree_disabled);