]> 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)
commit9b9baaf8384add03552ca884dee5f8d1355c2f0f
tree735b0c627ffbff28bb0286198007548ec65de028
parent995afd9b67468a57e129301ec8ab8253f5f344d1
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