Re: [PATCHv6 10/15] x86/mm: Report unaccepted memory in /proc/meminfo

From: David Hildenbrand
Date: Thu Jun 02 2022 - 04:40:18 EST


On 17.05.22 17:34, Kirill A. Shutemov wrote:
> Track amount of unaccepted memory and report it in /proc/meminfo.

I feel like instead of doing this arch specific tracking here, we should
simply report the total number of unaccepted (base) pages in the buddy.

When the system boots up, the number will rise as unaccepted memory gets
exposed to the buddy. But especially once user space is up and running,
that number should only go down.

Once it hits zero, there is no unaccepted memory left in the buddy and
there won't be any performance surprises anymote -- and AFAIKT, that's
what we really care about.

--
Thanks,

David / dhildenb