Re: ABI compatibility for /proc/zoneinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 10, 2020 at 02:24:03PM -0700, Sonny Rao wrote:
> We (Chrome OS) noticed recently one of our tests started failing on
> upstream kernels while parsing /proc/zoneinfo
> I think this patch is the cause:
> 
> 26e7deadaae17 mm/vmstat.c: do not show lowmem reserve protection
> information of empty zone
> 
> Maybe our parser was being overly strict by looking for the protection
> line, and it's not hard to fix but raised the question of whether there's
> any ABI compatibility guarantees about these files?

According to Documentation/admin-guide/sysctl/vm.rst, "Each zone has
an array of protection pages". I'm not sure if this is the guarantee,
but the doc should reflect the actual format.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux