* [PATCH 1/1] mm: fix comments for mmap_init()
@ 2017-01-23 14:43 seokhoon.yoon
0 siblings, 0 replies; only message in thread
From: seokhoon.yoon @ 2017-01-23 14:43 UTC (permalink / raw)
To: Andrew Morton
Cc: Andrea Arcangeli, Kirill A. Shutemov, linux-kernel, linux-mm
mmap_init() is no longer associated with VMA slab. so fix it.
Signed-off-by: seokhoon.yoon <iamyooon@gmail.com>
---
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 dc4291d..3794ada 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -3433,7 +3433,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 24f9f5f..fd6b50a 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -517,7 +517,7 @@ int vm_insert_page(struct vm_area_struct *vma, unsigned long addr,
}
/*
- * initialise the VMA and region record slabs
+ * initialise the percpu counter for VM and region record slabs
*/
void __init mmap_init(void)
{
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-23 14:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 14:43 [PATCH 1/1] mm: fix comments for mmap_init() seokhoon.yoon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®