summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseokhoon.yoon <iamyooon@gmail.com>2017-02-25 01:56:44 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-25 04:46:54 +0300
commit3edf41d84587701db4650276262d1b71fdf20d9f (patch)
treefa55ad6971748c283e4281f97e4012f573179bab
parent11bac80004499ea59f361ef2a5516c84b6eab675 (diff)
downloadlinux-3edf41d84587701db4650276262d1b71fdf20d9f.tar.xz
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 <iamyooon@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/mmap.c2
-rw-r--r--mm/nommu.c2
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)
{