iowait_queue(9)
β¨ iowait_queue(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's called iowait_queue, and it's literally the "put the iowait on a wait queue" girlie. that's the whole vibe. π
πΈ NAME πΈ
iowait_queue β Put the iowait on a wait queue π
π¦ SYNOPSIS π¦
void iowait_queue (bool pkts_sent , struct iowait *w , struct list_head
*wait_head );
π ARGUMENTS π
pkts_sentβ abool, bestie: have some packets been sent before queuing? that's the question it answers πwβ theiowaitstruct itself. the main character, honestly β¨wait_headβ the wait queue. the guest list. the venue. π
π§ DESCRIPTION π§
so this function gets called to insert an iowait struct into a wait queue β and it happens after a resource has run out (like, for example, an sdma descriptor or a pio buffer). think of it as: the resource said "i'm full, no more for you π" and now your iowait goes and waits its turn on the queue. no cap, that's it. π«Ά
π SEE ALSO π
Kernel file ./drivers/infiniband/hw/hfi1/iowait.h β and honestly the whole friend group is here, go say hi:
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_starve_clear(9)iowait_packet_queued(9)iowait_get_tid_work(9)iowait_get_ib_work(9)iowait_ioww_to_iow(9)
ok that's the whole page, bestie, you ate that π β¨
mwah π β this one lives at ./drivers/infiniband/hw/hfi1, and it's dated October 2026. slay, see you in the next manpage π¦
π¦ 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