Searched refs:goal_pages (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/xen/
H A Dxen-selfballoon.c187 unsigned long cur_pages, goal_pages, tgt_pages, floor_pages; selfballoon_process() local
194 goal_pages = vm_memory_committed() + selfballoon_process()
200 goal_pages += frontswap_curr_pages(); selfballoon_process()
202 if (cur_pages > goal_pages) selfballoon_process()
204 ((cur_pages - goal_pages) / selfballoon_process()
206 else if (cur_pages < goal_pages) selfballoon_process()
208 ((goal_pages - cur_pages) / selfballoon_process()
210 /* else if cur_pages == goal_pages, no change */ selfballoon_process()

Completed in 53 milliseconds