tty_unthrottle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tty_unthrottle(9) β€” Kernel API Manual πŸŽ€

okay bestie, welcome to tty_unthrottle(9)</p> ✨ this one's from the Kernel API Manual and it's short, it's sweet, and it's literally about letting a tty breathe again. 🫢


✨ NAME ✨

tty_unthrottle β€” flow control πŸ’–

🌸 SYNOPSIS 🌸

void tty_unthrottle (struct tty_struct *tty );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • tty β€” the terminal πŸŽ€

πŸ’œ DESCRIPTION πŸ’œ

So here's the vibe: this is you telling a tty β€œokay queen, you may continue transmitting data down the stack” ✨ it's the un-choke, the release, the go off. πŸ’…

It takes tty_struct->termios_rwsem β€” yeah, the semaphore β€” to protect against parallel throttle/unthrottle happening at the same time 😭 and also so the driver can consistently reference its own termios data at this point when it's implementing software flow control. Lowkey important. πŸ”₯

⚠️ Drivers should however remember that the stack can issue a throttle, then change flow control method, then unthrottle. πŸ‘€ like, in that order. do not assume anything stays put, fr fr. no cap.

⭐ SEE ALSO ⭐

Kernel file ./drivers/tty/tty_ioctl.c β€” and also go check out these icons, iykyk:


πŸ’€ annnnd that's the whole page bestie, she's a short one but she's iconic πŸ‘‘

🫢 this cutie lives in ./drivers/tty, shipped October 2026 as part of the Kernel API Manual, and yes the title is tty_unthrottle(9) in case you forgot already πŸ™ˆ mwah, go unthrottle something πŸ’–βœ¨

πŸ“¦ where this page comes from