From 3edf41d84587701db4650276262d1b71fdf20d9f Mon Sep 17 00:00:00 2001 From: "seokhoon.yoon" Date: Fri, 24 Feb 2017 14:56:44 -0800 Subject: [PATCH] mm: fix comments for mmap_init() mmap_init() is no longer associated with VMA slab. So fix it. Link: http://lkml.kernel.org/r/1485182601-9294-1-git-send-email-iamyooon@gmail.com Signed-off-by: seokhoon.yoon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- mm/mmap.c | 2 +- mm/nommu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/mmap.c b/mm/mmap.c index 1cd70010edf0..46059b7a84e4 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -3446,7 +3446,7 @@ void mm_drop_all_locks(struct mm_struct *mm) } /* - * initialise the VMA slab + * initialise the percpu counter for VM */ void __init mmap_init(void) { diff --git a/mm/nommu.c b/mm/nommu.c index 62600ba0d1d8..215c62296028 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -517,7 +517,7 @@ SYSCALL_DEFINE1(brk, unsigned long, brk) } /* - * initialise the VMA and region record slabs + * initialise the percpu counter for VM and region record slabs */ void __init mmap_init(void) { -- 2.11.0