mbox series

[0/2] mm/compaction: allow more aggressive proactive compaction

Message ID 20250124182140.2243862-1-mclapinski@google.com (mailing list archive)
Headers show
Series mm/compaction: allow more aggressive proactive compaction | expand

Message

Michal Clapinski Jan. 24, 2025, 6:21 p.m. UTC
Our goal is to keep memory usage of a VM low on the host. For that
reason, we use free page reporting which by default reports free pages
of order 9 and larger to the host to be freed. The feature works well
only if the memory in the guest is not fragmented below pages of order
9. Proactive compaction can be reused to achieve defragmentation after
some parameter tweaking.

Michal Clapinski (2):
  mm/compaction: remove low watermark cap for proactive compaction
  mm/compaction: expose a new param for proactive compaction

 mm/compaction.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)