From patchwork Sun Sep 27 15:54:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Su X-Patchwork-Id: 11802197 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CA4A8112C for ; Sun, 27 Sep 2020 15:54:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5B30323899 for ; Sun, 27 Sep 2020 15:54:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="Un1iQ2GW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B30323899 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=163.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6FF246B005C; Sun, 27 Sep 2020 11:54:32 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 688BB6B005D; Sun, 27 Sep 2020 11:54:32 -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 528826B0068; Sun, 27 Sep 2020 11:54:32 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0132.hostedemail.com [216.40.44.132]) by kanga.kvack.org (Postfix) with ESMTP id 39B9F6B005C for ; Sun, 27 Sep 2020 11:54:32 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id D33004DBE for ; Sun, 27 Sep 2020 15:54:31 +0000 (UTC) X-FDA: 77309288742.02.crown07_5b09ce42717a Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin02.hostedemail.com (Postfix) with ESMTP id A9A67100DCA8E for ; Sun, 27 Sep 2020 15:54:31 +0000 (UTC) X-Spam-Summary: 1,0,0,ea48a462d5934e80,d41d8cd98f00b204,sh_def@163.com,,RULES_HIT:41:355:379:582:800:960:966:973:988:989:1152:1260:1277:1312:1313:1314:1345:1381:1437:1516:1518:1519:1534:1539:1593:1594:1595:1596:1711:1714:1730:1747:1777:1792:2196:2199:2393:2559:2562:2895:3138:3139:3140:3141:3142:3351:3865:3867:3870:4385:5007:6261:6653:10004:10400:11026:11334:11658:11914:12043:12296:12297:12555:12895:13069:13311:13357:13439:13895:14096:14097:14181:14394:14721:21080:21627:30054:30070,0,RBL:220.181.12.15:@163.com:.lbl8.mailshell.net-66.100.201.100 62.50.2.100;04yfd1nndz1c7y89xk6zknbjw71s3opi6ni69p8u9p1poo7ksh6tn7m4xs4j4h7.99nmbmnidxm8sy693itnks4zacba5w8xnzzzi66qheqc7yphyap354kea8i7c4d.h-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:23,LUA_SUMMARY:none X-HE-Tag: crown07_5b09ce42717a X-Filterd-Recvd-Size: 2261 Received: from m12-15.163.com (m12-15.163.com [220.181.12.15]) by imf31.hostedemail.com (Postfix) with ESMTP for ; Sun, 27 Sep 2020 15:54:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:Message-ID:MIME-Version; bh=pG63W AIEWEv02mN1QskUD2ps4J6DXNeNTnmehPAR9hc=; b=Un1iQ2GWXonB47Um3bq5q HVX1Xd6wNesBC9jiXEyQen3v48jqMhq70BwiqrHpbo8mlxG3Xe8BVt7mRqx6FXAY daF0+WSyxlDiMbIafTc5dDPk8P0aYVLIXBcgUhpWUH/Q3W39OMxE8QMwQvo9lDGn Q4ZkOL2Jw8A6zmfBXMs2xo= Received: from localhost (unknown [101.86.214.224]) by smtp11 (Coremail) with SMTP id D8CowACnVquhtXBfXPyOEA--.16416S2; Sun, 27 Sep 2020 23:54:09 +0800 (CST) Date: Sun, 27 Sep 2020 23:54:09 +0800 From: Hui Su To: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm/vmalloc.c: update the comment in __vmalloc_area_node() Message-ID: <20200927155409.GA3315@rlk> MIME-Version: 1.0 Content-Disposition: inline X-CM-TRANSID: D8CowACnVquhtXBfXPyOEA--.16416S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZrW8Zw4kXrWrWF18Kr1Utrb_yoW3Arc_uF 1rtr4xu395Jay0ywn7uanayF18K3yrCrsYqrnIqa9xJa43Xa1rJ39rJry5JFsrWr42ka4D WayDAryUArZxGjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8ymh7UUUUU== X-Originating-IP: [101.86.214.224] X-CM-SenderInfo: xvkbvvri6rljoofrz/xtbBywmsX1PAPCmabAAAsB X-Bogosity: Ham, tests=bogofilter, spamicity=0.066579, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: since c67dc624757 commit, the __vunmap() have been changed to __vfree(), so update the confusing comment(). Signed-off-by: Hui Su --- mm/vmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index be4724b916b3..689e7ef08a5d 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -2447,7 +2447,7 @@ static void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask, page = alloc_pages_node(node, alloc_mask|highmem_mask, 0); if (unlikely(!page)) { - /* Successfully allocated i pages, free them in __vunmap() */ + /* Successfully allocated i pages, free them in __vfree() */ area->nr_pages = i; atomic_long_add(area->nr_pages, &nr_vmalloc_pages); goto fail;