]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit26e7deadaae1755faf1f6d1a68988c4b8348df59
tree735b0c627ffbff28bb0286198007548ec65de028
parentf63661566fad43c0884ad879e6ff07c55ed890f4
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