]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 5334ad8fc7bd9613e2ace8a7b3f2de14fa829a4a..c2bc309d163451177ca2ed3c50b8a064f73e7550 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 87aa2a6d91256654cacc38c98658ff908ab4e86c..27c1ed2822e69806d7d9a65990cd2ed7e3827c38 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 */
 };