* [patch 024/124] mm: fix comments for mmap_init()
@ 2017-02-24 22:56 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-02-24 22:56 UTC (permalink / raw
To: torvalds, mm-commits, akpm, iamyooon
From: "seokhoon.yoon" <iamyooon@gmail.com>
Subject: 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>
---
mm/mmap.c | 2 +-
mm/nommu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -puN mm/mmap.c~mm-fix-comments-for-mmap_init mm/mmap.c
--- a/mm/mmap.c~mm-fix-comments-for-mmap_init
+++ a/mm/mmap.c
@@ -3446,7 +3446,7 @@ void mm_drop_all_locks(struct mm_struct
}
/*
- * initialise the VMA slab
+ * initialise the percpu counter for VM
*/
void __init mmap_init(void)
{
diff -puN mm/nommu.c~mm-fix-comments-for-mmap_init mm/nommu.c
--- a/mm/nommu.c~mm-fix-comments-for-mmap_init
+++ a/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)
{
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-24 22:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24 22:56 [patch 024/124] mm: fix comments for mmap_init() akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.