mm/page_alloc.c: fix a misleading comment
authorYaowei Bai <bywxiaobai@163.com>
Tue, 8 Sep 2015 22:04:10 +0000 (15:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 8 Sep 2015 22:35:28 +0000 (15:35 -0700)
commit013110a73dcf970cb28c5b0a79f9eee577ea6aa2
tree398a875ba2896297383814281b091faf47574a51
parentc9d13f5fc748a02cb5917a798f065681007342b9
mm/page_alloc.c: fix a misleading comment

The comment says that the per-cpu batchsize and zone watermarks are
determined by present_pages which is definitely wrong, they are both
calculated from managed_pages.  Fix it.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/sysctl/vm.txt
mm/page_alloc.c