Re: [PATCH v2 0/1] mm: introduce MADV_DEMOTE/MADV_PROMOTE

From: David Hildenbrand
Date: Thu Aug 01 2024 - 09:13:20 EST


4. MADV_DEMOTE and MADV_PROMOTE provide a better balance between capacity
and latency. They allow hot pages that need promoting to be promoted
smoothly and pages that need demoting to be demoted immediately. This
helps tiered memory systems to operate more rationally.

Can you summarize why something similar could not be provided by a
library that builds up on existing functionality, such as migrate_pages?

Sorry, I actually wanted to refer to "move_pages", not "migrate_pages".

--
Cheers,

David / dhildenb