hv_balloon-update-the-nr_balloon_pages-state.patch removed from -mm tree
The quilt patch titled
Subject: hv_balloon: update the NR_BALLOON_PAGES state
has been removed from the -mm tree. Its filename was
hv_balloon-update-the-nr_balloon_pages-state.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Nico Pache <[email protected]>
Subject: hv_balloon: update the NR_BALLOON_PAGES state
Date: Fri, 14 Mar 2025 15:37:56 -0600
Update the NR_BALLOON_PAGES counter when pages are added to or removed from the Hyper-V balloon.
Signed-off-by Nico Pache <[email protected]>
Reviewed-by Michael Kelley <[email protected]>
Cc Alexander Atanasov <[email protected]>
Cc Chengming Zhou <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc Dexuan Cui <[email protected]>
Cc Haiyang Zhang <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Juegren Gross <[email protected]>
Cc Kanchana P Sridhar <[email protected]>
Cc K. Y. Srinivasan <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Muchun Song <[email protected]>
Cc Nhat Pham <[email protected]>
Cc Oleksandr Tyshchenko <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Shakeel Butt <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Wei Liu <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/hv/hv_balloon.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/hv/hv_balloon.c renamed from drivers/hv/hv_balloon.c~hv_balloon-update-the-nr_balloon_pages-state +2 -0
@@ -1192,6 +1192,7 @@ static void free_balloon_pages(struct hv__ClearPageOffline (pg);__free_page (pg); dm->num_pages_ballooned--; +mod_node_page_state (page_pgdat (pg),NR_BALLOON_PAGES ,-1 );adjust_managed_page_count (pg,1 ); } }
@@ -1221,6 +1222,7 @@ static unsigned int alloc_balloon_pages(return i * alloc_unit; dm->num_pages_ballooned += alloc_unit; +mod_node_page_state (page_pgdat (pg),NR_BALLOON_PAGES , alloc_unit);/* * If we allocatted 2M pages; split them so we
_
Patches currently in -mm which might be from [email protected] are