mm: add nr_free_highatomic in show_free_areas
Subsystems (2)
PATCH 1/1 mm: add nr_free_highatomic in show_free_areas
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.
--- mm/show_mem.c | 2 ++ 1 file changed, 2 insertions(+)
mm/show_mem.c +2 -0
@@ -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_zK (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)),
Signature · 1 line
2.17.1
Quoted 4 lines · gaoxu
The commit
c928807f6f6b6("mm/page_alloc: keep track of free highatomic")adds a new variablenr_free_highatomic, which is useful for analyzing low mem issues. addnr_free_highatomicinshow_free_areas.
Sounds helpful
Signature · 3 lines
Cheers, David / dhildenb
Quoted 6 lines · gaoxu
The commit
c928807f6f6b6("mm/page_alloc: keep track of free highatomic")adds a new variablenr_free_highatomic, which is useful for analyzing low mem issues. addnr_free_highatomicinshow_free_areas.Signed-off-by gao xu <[email protected]>
Quoted 26 lines
--- mm/show_mem.c | 2 ++ 1 file changed, 2 insertions(+)mm/show_mem.c +2
-1@@ -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_zK (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
Quoted 22 lines · gaoxu
The commit
c928807f6f6b6("mm/page_alloc: keep track of free highatomic")adds a new variablenr_free_highatomic, which is useful for analyzing low mem issues. addnr_free_highatomicinshow_free_areas.Signed-off-by gao xu <[email protected]>--- mm/show_mem.c | 2 ++ 1 file changed, 2 insertions(+)mm/show_mem.c +1
-0@@ -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"
mm/show_mem.c static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_z · line 333
Quoted 7 lines
mm/show_mem.c +1
-0@@ -326,6 +327,7 @@ static void show_free_areas(unsigned int filter, nodemask_t *nodemask, int max_zK (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)),