From patchwork Tue Apr 2 09:43:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 10881303 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CACE717E0 for ; Tue, 2 Apr 2019 09:43:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B71D3285AF for ; Tue, 2 Apr 2019 09:43:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB0A62878F; Tue, 2 Apr 2019 09:43:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C344285AF for ; Tue, 2 Apr 2019 09:43:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 34C546B0277; Tue, 2 Apr 2019 05:43:36 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 2FD056B0278; Tue, 2 Apr 2019 05:43:36 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1EB686B0279; Tue, 2 Apr 2019 05:43:36 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by kanga.kvack.org (Postfix) with ESMTP id C039B6B0277 for ; Tue, 2 Apr 2019 05:43:35 -0400 (EDT) Received: by mail-ed1-f72.google.com with SMTP id p88so5589730edd.17 for ; Tue, 02 Apr 2019 02:43:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:thread-topic :thread-index:date:message-id:accept-language:content-language :content-transfer-encoding:mime-version; bh=xSRc8Pz01JTPpJmtk7tlkeDqW/6QOxKjXGKZ74ohUJA=; b=YQf08Z8bQzw0/woLlJ/HYhTDip/t/DyOX2jlo9UsYGGMs9wCJTAcnpktstGRDmUNpy BwHA0jIQBLgMR0QROfm9/ozwyV9BaaCgfIAGn5B0wKYF9BIyxjF4/NYfGvNQmJ0sblI1 JnidiyTMNB+2eQRxwq4vfQaoIOXLczkijDJiiD63tJrcvUbkGEMaFD1jczZc708AMHD7 NEaWIaziriri0jVFlbxYmeUEcSN+oRfnGAeG4sSpjOKJSopdPjLCh3nNantZ9stpQoNo 5sIL4bY9ohAJO84uta3vvesBndWITsxuYUN63M89EU1D2F6zy7SMbXYpUeVPG75upgZT AD3w== X-Gm-Message-State: APjAAAXb/Th3qX70HCRIfWOQvVCDvTkyXLDXSP2guka2an9wZ0HlSTsl 3PvcIbs06nWNhP7szGxVudTqsQowzYORP1ENNWGUG+2n0LednzrqbS3+1Ds3TTXoUHPA1+tz3dk e2YqVSORArrDeetNQtyV+cHdWmNPrByMTzlYaCPCuzkJGx/JmrVjcQAdIAZlk6Qb1DQ== X-Received: by 2002:a17:906:b309:: with SMTP id n9mr7773452ejz.210.1554198215309; Tue, 02 Apr 2019 02:43:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/jGdh3lrEvZ4sC37KAwZ9YYAY7owW4sTN0lLC1OIsLXYOJR2mxIBdDLEkSIRyylUXPnjX X-Received: by 2002:a17:906:b309:: with SMTP id n9mr7773416ejz.210.1554198214546; Tue, 02 Apr 2019 02:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554198214; cv=none; d=google.com; s=arc-20160816; b=jcc3wW/kjHKz7ld8ydZWTfdDDxaVFBvPLQyvsb3KiiLgW+0ZPoG6eRE/3cFnVrSCCi YoM+kmCvTEkAfPhYecZYPpzjfSK2F6kTbPtNZ+4bYpv/tPCalz82d7nBL8w6CuFvj6af Y3G7g6OhT7yTO15VbEJwT4o6Ico2jAn8280e2W0C/35pbsqgbPfBf5YnNXQE9naHaVzu A5+huanVL81NnByREHf9J+8JCS8QC8KlfgjovEj8Tq0DlqkCkG1q9UBrN3M8wHXFt3D2 hO+H3kZl+mqSNPXnnAYN4ggTxted/BqjVTwFjoE1sPaXgcVfDno0bksl5vEj+D1piTqz SD0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :cc:to:from:dkim-signature; bh=xSRc8Pz01JTPpJmtk7tlkeDqW/6QOxKjXGKZ74ohUJA=; b=UH1H8SRWk1ggWmn7B10f/stj1Fj6ZNKCPoPXnI12febb3Kmmbs4oOKdKTHqHtPlFJJ LyiNV/Zo55by7CcX2bURaSIDD5jKxEU86OwiAFnldqsk3QhfhILuYxv3jhXuo0JOJe3O f/7HhkigLjapzbvQZCTHENs5KAWa0LdfG+/1zYbz0uvY5x3Jg6Vqhv+649IHC/wAVJlY 4a4XJZ67D8RBeaeJPTEkjhhpP/KfH4/SsUUN4RIXvhtvelRpQg7MnJVOXgdLITlb9F4b N/J+p1Fcwfbds1/v/mw5dRDTLkYobJBbgimX40IEgYVe/kPXtXWz7NKb03sl09kBgH6U ZY0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=GACUknFW; spf=pass (google.com: domain of peng.fan@nxp.com designates 40.107.8.89 as permitted sender) smtp.mailfrom=peng.fan@nxp.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80089.outbound.protection.outlook.com. [40.107.8.89]) by mx.google.com with ESMTPS id k8si4579456ejk.54.2019.04.02.02.43.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 02 Apr 2019 02:43:34 -0700 (PDT) Received-SPF: pass (google.com: domain of peng.fan@nxp.com designates 40.107.8.89 as permitted sender) client-ip=40.107.8.89; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=GACUknFW; spf=pass (google.com: domain of peng.fan@nxp.com designates 40.107.8.89 as permitted sender) smtp.mailfrom=peng.fan@nxp.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xSRc8Pz01JTPpJmtk7tlkeDqW/6QOxKjXGKZ74ohUJA=; b=GACUknFWcUCH1jn2Mi+yqltqXA2Hp5PrwNZLsXqAXrPEq4aZW93FePvLz3mx81anIHojJVeE401a+3YEMjTfATmxlvtuVmJXBJq2FGRD2NdiRgrk2jpmIgvXvmP0SveeE4tZwbGe2fF8yjW8oa8TanWQQWgRnJyObH9eXZCbUq8= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5025.eurprd04.prod.outlook.com (20.177.40.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.22; Tue, 2 Apr 2019 09:43:32 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::dc63:432c:eb4b:8d1b]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::dc63:432c:eb4b:8d1b%3]) with mapi id 15.20.1750.017; Tue, 2 Apr 2019 09:43:32 +0000 From: Peng Fan To: "akpm@linux-foundation.org" , "vbabka@suse.cz" , "mhocko@suse.com" , "willy@infradead.org" , "rppt@linux.vnet.ibm.com" , "arunks@codeaurora.org" , "nborisov@suse.com" , "dan.j.williams@intel.com" , "aryabinin@virtuozzo.com" , "ldr709@gmail.com" CC: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "van.freenix@gmail.com" , Peng Fan Subject: [PATCH] mm: __pagevec_lru_add_fn: typo fix Thread-Topic: [PATCH] mm: __pagevec_lru_add_fn: typo fix Thread-Index: AQHU6TiIf+7xhVfRzkCOK8uLgCZGpg== Date: Tue, 2 Apr 2019 09:43:31 +0000 Message-ID: <20190402095609.27181-1-peng.fan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.16.4 x-clientproxiedby: HK0PR01CA0060.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::24) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 62143116-25cf-4378-034a-08d6b74faab5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM0PR04MB5025; x-ms-traffictypediagnostic: AM0PR04MB5025: x-microsoft-antispam-prvs: x-forefront-prvs: 0995196AA2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(39860400002)(136003)(396003)(366004)(346002)(376002)(189003)(199004)(6506007)(4326008)(5660300002)(386003)(68736007)(97736004)(305945005)(476003)(2616005)(2906002)(6486002)(6436002)(66066001)(36756003)(52116002)(486006)(186003)(1076003)(50226002)(54906003)(4744005)(81166006)(81156014)(102836004)(2201001)(25786009)(26005)(8936002)(53936002)(8676002)(6512007)(7416002)(86362001)(316002)(7736002)(99286004)(110136005)(478600001)(44832011)(3846002)(71200400001)(6116002)(71190400001)(14444005)(256004)(2501003)(14454004)(106356001)(105586002)(921003)(1121003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5025;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Ju8rl2HiFR/HiZ9ZKQ66ceMXBrUhEoeaffPLFOw9eXxGEyDzleHCSY0w83zUeUZoEaJ1BrsKdioeU8QkOJd++uKY/XmhnxGvN1uUKBaffdRnN14LwW7cd1WwkIzKFQZ7HROAmQcVMSpPaEdYZQGHOYqu56Q4/mrsiwHI88c/68/vy8Fz6O7hueCJaLj8PMdfTdpdl9Rn6+P/mXQjTyRswFB8wmbXBd0QB59oUW5/JUkjUtnfes4fW6CyH+CeytgZ1A6LHdFfST/Js7Jj6cDs09TGYPLx/eYO5qJJ4HL3aKLM6+T3Vl+/f6I7PtsSpOH0HYboRNjoyYLwgrCgF7uY5KW9Ydv2afTR5HSjtC5pl7pZfq+LXwLIBsdIUdkHi1PEjZ7AzKsTNlQrznB7Egx9jqXegIF5XwHTGTdktl+oHBk= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62143116-25cf-4378-034a-08d6b74faab5 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2019 09:43:32.0037 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5025 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: X-Virus-Scanned: ClamAV using ClamSMTP There is no function named munlock_vma_pages, correct it to munlock_vma_page. Signed-off-by: Peng Fan Acked-by: Vlastimil Babka Reviewed-by: Mukesh Ojha --- mm/swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/swap.c b/mm/swap.c index 301ed4e04320..3a75722e68a9 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -867,7 +867,7 @@ static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec, SetPageLRU(page); /* * Page becomes evictable in two ways: - * 1) Within LRU lock [munlock_vma_pages() and __munlock_pagevec()]. + * 1) Within LRU lock [munlock_vma_page() and __munlock_pagevec()]. * 2) Before acquiring LRU lock to put the page to correct LRU and then * a) do PageLRU check with lock [check_move_unevictable_pages] * b) do PageLRU check before lock [clear_page_mlock]