Re: [PATCH v1 1/1] mm: report per-page metadata information

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

 



Thank you David Hildenbrand for reviewing this patch. 

On Thu, Sep 14, 2023 at 6:00 AM David Hildenbrand <david@xxxxxxxxxx> wrote:
On 13.09.23 19:30, Sourav Panda wrote:
> Adds a new per-node PageMetadata field to
> /sys/devices/system/node/nodeN/meminfo
> and a global PageMetadata field to /proc/meminfo. This information can
> be used by users to see how much memory is being used by per-page
> metadata, which can vary depending on build configuration, machine
> architecture, and system use.
>
> Per-page metadata is the amount of memory that Linux needs in order to
> manage memory at the page granularity. The majority of such memory is
> used by "struct page" and "page_ext" data structures.

It's probably worth mentioning, that in contrast to most other "memory
consumption" statistics, this metadata might not be included "MemTotal";
when the memmap is allocated using the memblock allocator, it's not
included, when it's dynamically allocated using the buddy (e.g., memory
hotplug), it's included.


Thank you for your comment, Completely agree with you and shall make this change.

[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