* [PATCH] mm/vmalloc.c: update the comment in __vmalloc_area_node()
@ 2020-09-27 15:54 Hui Su
0 siblings, 0 replies; only message in thread
From: Hui Su @ 2020-09-27 15:54 UTC (permalink / raw)
To: akpm, linux-mm, linux-kernel
since c67dc624757 commit, the __vunmap() have been
changed to __vfree(), so update the confusing comment().
Signed-off-by: Hui Su <sh_def@163.com>
---
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;
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-27 15:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-27 15:54 [PATCH] mm/vmalloc.c: update the comment in __vmalloc_area_node() Hui Su
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).