mm: fix comments related to node reclaim
authorHao Lee <haolee.swjtu@gmail.com>
Fri, 31 Jan 2020 06:15:19 +0000 (22:15 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 31 Jan 2020 18:30:39 +0000 (10:30 -0800)
As zone reclaim has been replaced by node reclaim, this patch fixes
related comments.

Link: http://lkml.kernel.org/r/20191126141346.GA22665@haolee.github.io
Signed-off-by: Hao Lee <haolee.swjtu@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
include/uapi/linux/sysctl.h

index 5334ad8..c2bc309 100644 (file)
@@ -758,7 +758,7 @@ typedef struct pglist_data {
 
 #ifdef CONFIG_NUMA
        /*
-        * zone reclaim becomes active if more unmapped pages exist.
+        * node reclaim becomes active if more unmapped pages exist.
         */
        unsigned long           min_unmapped_pages;
        unsigned long           min_slab_pages;
index 87aa2a6..27c1ed2 100644 (file)
@@ -195,7 +195,7 @@ enum
        VM_MIN_UNMAPPED=32,     /* Set min percent of unmapped pages */
        VM_PANIC_ON_OOM=33,     /* panic at out-of-memory */
        VM_VDSO_ENABLED=34,     /* map VDSO into new processes? */
-       VM_MIN_SLAB=35,          /* Percent pages ignored by zone reclaim */
+       VM_MIN_SLAB=35,          /* Percent pages ignored by node reclaim */
 };