ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation.sched.balance.core Module Reference

Functions

auto zxfoundation::sched::balance::balance_dispatch (u16 cpu, softirq::balance_kind kind, softirq::balance_req &req) noexcept -> void
 Walk the sched_domain hierarchy and pull the busiest peer's rightmost fair strand to the local CPU.
auto zxfoundation::sched::balance::placement_policy_for (const zxfoundation::dgp::domain::strand &s) noexcept -> topology::strand_placement_policy
 Build the scheduler placement policy for a strand from its owning DGP domain.
auto zxfoundation::sched::balance::steal_source_score (u16 local_cpu, u16 source_cpu, u32 source_load, u32 source_capacity, topology::cpu_relation tier) noexcept -> u32
 Score a source CPU as a steal candidate for a local CPU.
auto zxfoundation::sched::balance::validate_cpu_for_strand (const zxfoundation::dgp::domain::strand &s, u16 target_cpu) noexcept -> std::expected< void, lib::kernel_error >
 Test whether a candidate CPU may run a strand under its placement policy.

Files

file  zxfoundation/sched/balance.zcomponent/core.cxxm
file  zxfoundation/sched/balance.zcomponent/core.cxx