mux_poll(9)
β¨ mux_poll(9) β from the Kernel API Manual, bestie β¨
okay so this one is literally a tiny little timer callback that keeps the Serial MUX fed, and honestly it ate. let's get into it π«Ά
πΈ NAME πΈ
mux_poll β the Mux poll function. that's it, that's the whole name. short, sweet, iconic. π
π SYNOPSIS π
void mux_poll (struct timer_list *unused );
one function, one pointer, zero drama (wellβ¦ almost zero β see the next section π).
π¦ ARGUMENTS π¦
unusedβ the unused variable π. yeah. it's literally namedunusedbecause it doesn't get used. the kernel is nothing if not honest about its situationships.
π DESCRIPTION π
so here's the vibe: this function periodically polls the Serial MUX to check whether there's any new data chilling in there. that's the whole job. it wakes up on a timer, does a little vibe check on the serial mux, and dips. lowkey main character energy for such a small function ngl β¨
no cap, that's genuinely all it does β periodic polling, Serial MUX, new data. periodt.
π₯ SEE ALSO π₯
the whole fam lives in the Kernel file ./drivers/tty/serial/mux.c, and they're all starring in this episode together:
get_mux_port_count(9)mux_tx_empty(9)mux_set_mctrl(9)mux_get_mctrl(9)mux_stop_tx(9)mux_start_tx(9)mux_stop_rx(9)mux_break_ctl(9)mux_write(9)mux_read(9)mux_startup(9)mux_shutdown(9)mux_set_termios(9)mux_type(9)mux_release_port(9)mux_request_port(9)mux_config_port(9)mux_verify_port(9)mux_probe(9)mux_init(9)mux_exit(9)
like, the entire friend group. go read them too, iykyk π
that's the whole page bestie β no hidden flags, no secrets, no lore drops. sometimes a manpage is just a manpage π
alright, sign-off time π this icon was living in ./drivers/tty/serial, dated October 2026, and it ate every time. mwah π
π¦ 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