iowait_starve_clear(9)
π NAME π
okay so bestie, this is iowait_starve_clear(9) from the Kernel API Manual, and its whole thing is literally clear the wait queue's starve count. That's the assignment. π
β¨
πΈ SYNOPSIS πΈ
void iowait_starve_clear (bool pkts_sent , struct iowait *w );
π¦ ARGUMENTS π¦
pkts_sentβ have some packets been sent? π That's the question this arg is answering.wβ theiowaitstruct π«Ά
π DESCRIPTION π
This function is called to clear the starve count. Cute. Simple. Iconic.
But no cap: if no packets have been sent, the starve count will not be cleared. So yeah, pkts_sent is lowkey running the whole vibe check here. Periodt. ππ
π₯ SEE ALSO π₯
Kernel file ./drivers/infiniband/hw/hfi1/iowait.h, plus the whole friend group:
iowait_schedule(9)iowait_tid_schedule(9)iowait_sdma_drain(9)iowait_sdma_pending(9)iowait_sdma_inc(9)iowait_sdma_add(9)iowait_sdma_dec(9)iowait_pio_drain(9)iowait_pio_pending(9)iowait_pio_inc(9)iowait_pio_dec(9)iowait_drain_wakeup(9)iowait_get_txhead(9)iowait_queue(9)iowait_packet_queued(9)iowait_get_tid_work(9)iowait_get_ib_work(9)iowait_ioww_to_iow(9)
okay that's the page! π«Ά huge shoutout to source/version ./drivers/infiniband/hw/hfi1 and date October 2026 β and yes, the manual page is iowait_starve_clear(9). bye bestie, slay your kernel adventures! ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms