iowait_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” a bool, bestie: have some packets been sent before queuing? that's the question it answers πŸ‘€
  • w β€” the iowait struct 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:


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