We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ec359 commit f6a09e6Copy full SHA for f6a09e6
drivers/xen/balloon.c
@@ -157,6 +157,8 @@ static void balloon_append(struct page *page)
157
list_add(&page->lru, &ballooned_pages);
158
balloon_stats.balloon_low++;
159
}
160
+ inc_node_page_state(page, NR_BALLOON_PAGES);
161
+
162
wake_up(&balloon_wq);
163
164
@@ -179,6 +181,8 @@ static struct page *balloon_retrieve(bool require_lowmem)
179
181
balloon_stats.balloon_low--;
180
182
183
__ClearPageOffline(page);
184
+ dec_node_page_state(page, NR_BALLOON_PAGES);
185
186
return page;
187
188
0 commit comments