mux_poll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 named unused because 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:

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