tty_unthrottle(9)
π 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:
tty_chars_in_buffer(9)tty_write_room(9)tty_driver_flush_buffer(9)tty_throttle_safe(9)tty_unthrottle_safe(9)tty_wait_until_sent(9)tty_termios_copy_hw(9)tty_termios_hw_change(9)tty_get_char_size(9)tty_get_frame_size(9)tty_set_termios(9)set_termios(9)set_sgttyb(9)tty_change_softcar(9)tty_mode_ioctl(9)
π 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
- 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