lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGsJ_4yX9-WPBfrmTSiHka5-=TZ2dyAH3zTAuSt-+P_UFJ5NkA@mail.gmail.com>
Date: Mon, 14 Apr 2025 09:52:35 +1200
From: Barry Song <21cnbao@...il.com>
To: gaoxu <gaoxu2@...or.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, Mike Rapoport <rppt@...nel.org>, 
	"surenb@...gle.com" <surenb@...gle.com>, Yu Zhao <yuzhao@...gle.com>, 
	"linux-mm@...ck.org" <linux-mm@...ck.org>, 
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, yipengxiang <yipengxiang@...or.com>
Subject: Re: [PATCH] mm: add nr_free_highatomic in show_free_areas

On Sat, Apr 12, 2025 at 9:27 PM gaoxu <gaoxu2@...or.com> wrote:
>
> The commit c928807f6f6b6("mm/page_alloc: keep track of free highatomic")
> adds a new variable nr_free_highatomic, which is useful for analyzing low
> mem issues. add nr_free_highatomic in show_free_areas.
>
> Signed-off-by: gao xu <gaoxu2@...or.com>

Reviewed-by: Barry Song <baohua@...nel.org>

> ---
>  mm/show_mem.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/mm/show_mem.c b/mm/show_mem.c
> index ad373b4b6..03e8d968f 100644
> --- a/mm/show_mem.c
> +++ b/mm/show_mem.c
> @@ -305,6 +305,7 @@ static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_z
>                         " low:%lukB"
>                         " high:%lukB"
>                         " reserved_highatomic:%luKB"
> +                       " free_highatomic:%luKB"
>                         " active_anon:%lukB"
>                         " inactive_anon:%lukB"
>                         " active_file:%lukB"
> @@ -326,6 +327,7 @@ static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_z
>                         K(low_wmark_pages(zone)),
>                         K(high_wmark_pages(zone)),
>                         K(zone->nr_reserved_highatomic),
> +                       K(zone->nr_free_highatomic),
>                         K(zone_page_state(zone, NR_ZONE_ACTIVE_ANON)),
>                         K(zone_page_state(zone, NR_ZONE_INACTIVE_ANON)),
>                         K(zone_page_state(zone, NR_ZONE_ACTIVE_FILE)),
> --
> 2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ