Re: [PATCH] Revert "mm/vmstat.c: do not show lowmem reserve protection information of empty zone"

From: David Rientjes
Date: Tue Aug 11 2020 - 17:46:12 EST


On Tue, 11 Aug 2020, Baoquan He wrote:

> This reverts commit 26e7deadaae1755faf1f6d1a68988c4b8348df59.
>
> Sonny reported that one of their tests started failing on the latest
> kernel on their Chrome OS platform. The root cause is that the above
> commit removed the protection line of empty zone, while the parser used
> in the test relies on the protection line to mark the end of each zone.
>
> Let's revert it to avoid breaking userspace testing or applications.
>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

No objection since I noted userspace parsing as a potential risk in
https://marc.info/?l=linux-mm&m=158507790824995 but I didn't catch this
earlier patch which could have led to the same thing.