Typedefs | |
| using | zxfoundation::memory::reclaim::reclaim_fn = auto (*)(u8 node, u32 target_pages) noexcept -> u32 |
Functions | |
| auto | zxfoundation::memory::reclaim::install (reclaim_fn callback) noexcept -> std::expected< void, lib::kernel_error > |
| Install the reclaim callback used by kswapd and allocation retry. | |
| auto | zxfoundation::memory::reclaim::reclaim_for_allocation (u8 node, u32 target_pages) noexcept -> std::expected< void, lib::kernel_error > |
| Reclaim enough pages to satisfy an allocation retry. | |
| auto | zxfoundation::memory::reclaim::reclaim_node (u8 node, u32 target_pages) noexcept -> std::expected< u32, lib::kernel_error > |
| Reclaim pages on one NUMA node. | |
| auto | zxfoundation::memory::reclaim::reclaim_range (u64 phys_start, u64 phys_end) noexcept -> u32 |
| Evict every resident page whose physical address lies in [phys_start, phys_end). | |
Files | |
| file | zxfoundation/memory/reclaim.zcomponent/core.cxxm |
| Unified reclaim: walks page_cache + all VMAs via the SCOMS. | |
| file | zxfoundation/memory/reclaim.zcomponent/core.cxx |
| Unified reclaim: walks page_cache + all VMAs via the SCOMS. | |