]> git.baikalelectronics.ru Git - kernel.git/commit
mm/vmstat.c: do not show lowmem reserve protection information of empty zone
authorBaoquan He <bhe@redhat.com>
Wed, 3 Jun 2020 22:58:55 +0000 (15:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Jun 2020 03:09:44 +0000 (20:09 -0700)
commitc0db4c26ce2e2f3ef3cc064e30d131dd98125920
tree735b0c627ffbff28bb0286198007548ec65de028
parentb960ae5b00b2557687c5b984335c922ff985c76d
mm/vmstat.c: do not show lowmem reserve protection information of empty zone

Because the lowmem reserve protection of a zone can't tell anything if the
zone is empty, except of adding one more line in /proc/zoneinfo.

Let's remove it from that zone's showing.

Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200402140113.3696-4-bhe@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmstat.c