Skip to main content

poll_all

Function poll_all 

Source
pub fn poll_all()
Expand description

Call poll() on every registered NIC (watchdog + link check). Safe to call from any non-IRQ context (allocates via get_all_tasks).

§TODO

Hook this into a kernel workqueue or periodic thread instead of the APIC timer tick : SpinLock::lock reads percpu data (GS:[0]) which is unsafe during the swapgs→iretq window.