From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67CD5C433DF for ; Tue, 13 Oct 2020 23:54:52 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 02B6A208B3 for ; Tue, 13 Oct 2020 23:54:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="gTaquRLy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02B6A208B3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 872506B010F; Tue, 13 Oct 2020 19:54:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 821446B0110; Tue, 13 Oct 2020 19:54:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 75EBE6B0111; Tue, 13 Oct 2020 19:54:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0083.hostedemail.com [216.40.44.83]) by kanga.kvack.org (Postfix) with ESMTP id 492166B010F for ; Tue, 13 Oct 2020 19:54:51 -0400 (EDT) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id D1D073625 for ; Tue, 13 Oct 2020 23:54:50 +0000 (UTC) X-FDA: 77368559940.17.spy22_2512b2827207 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin17.hostedemail.com (Postfix) with ESMTP id B7F74180D0180 for ; Tue, 13 Oct 2020 23:54:50 +0000 (UTC) X-HE-Tag: spy22_2512b2827207 X-Filterd-Recvd-Size: 2448 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf25.hostedemail.com (Postfix) with ESMTP for ; Tue, 13 Oct 2020 23:54:50 +0000 (UTC) Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1B18D206D5; Tue, 13 Oct 2020 23:54:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602633289; bh=EidSw18sm6TAJ8LoTWosO6B55f4v+xpMpnm5Vp6d6Vk=; h=Date:From:To:Subject:In-Reply-To:From; b=gTaquRLymRGf61YZqILfkxq9098PouY6qrT4hoLhWIwiyy62UWLTsmA680wg68Z7T Wz1J1YdBoHrkFpVdaibRne+iwFX75qDUR000yhQWrCkcEq4yn7oDoqxHAYmffQE1ez hp+opHjXiMnsaI/7i1hl6eyZyums7R3c9TyYVAAI= Date: Tue, 13 Oct 2020 16:54:48 -0700 From: Andrew Morton To: akpm@linux-foundation.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, rpenyaev@suse.de, sh_def@163.com, torvalds@linux-foundation.org Subject: [patch 117/181] mm/vmalloc.c: update the comment in __vmalloc_area_node() Message-ID: <20201013235448._bk1kYjle%akpm@linux-foundation.org> In-Reply-To: <20201013164658.3bfd96cc224d8923e66a9f4e@linux-foundation.org> User-Agent: s-nail v14.8.16 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: From: Hui Su Subject: mm/vmalloc.c: update the comment in __vmalloc_area_node() Since c67dc624757 ("mm/vmalloc: do not call kmemleak_free() on not yet accounted memory"), the __vunmap() have been changed to __vfree(), so update the confusing comment(). Link: https://lkml.kernel.org/r/20200927155409.GA3315@rlk Signed-off-by: Hui Su Reviewed-by: Andrew Morton Cc: Roman Penyaev Signed-off-by: Andrew Morton --- mm/vmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/vmalloc.c~mm-vmallocc-update-the-comment-in-__vmalloc_area_node +++ a/mm/vmalloc.c @@ -2447,7 +2447,7 @@ static void *__vmalloc_area_node(struct 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; _