Typedefs | |
| using | zxfoundation::memory::oom::kill_fn = auto (*)(u32 domain_id) noexcept -> bool |
| using | zxfoundation::memory::oom::score_fn = auto (*)(u32 domain_id) noexcept -> u64 |
Functions | |
| auto | zxfoundation::memory::oom::install (score_fn scorer, kill_fn killer) noexcept -> std::expected< void, lib::kernel_error > |
| Install OOM scoring and victim termination callbacks. | |
| auto | zxfoundation::memory::oom::kill_highest (u32 domain_count) noexcept -> std::expected< u32, lib::kernel_error > |
| Select and kill the highest-scoring domain in a bounded ID set. | |
Files | |
| file | zxfoundation/memory/oom.zcomponent/core.cxxm |
| Deterministic global OOM selection and kill callback. | |
| file | zxfoundation/memory/oom.zcomponent/core.cxx |
| Deterministic global OOM selection and kill callback. | |