alarmtimer_fired(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– alarmtimer_fired β€” the Kernel API Manual moment πŸŽ€

okay bestie so you've stumbled into the alarmtimer_fired(9) manual page and honestly? it's giving "small function, big responsibilities" energy. this is the kernel API manual, and this lil cutie is the callback that handles an alarm hrtimer being fired. let's get into it πŸ’…


✨ NAME ✨

alarmtimer_fired β€” literally handles the alarm hrtimer being fired. that's it, that's the job, and she does it well 🫢


🌸 SYNOPSIS 🌸

enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer);

πŸŽ€ ARGUMENTS πŸŽ€

  • timer β€” pointer to the hrtimer being run. yes queen, that's the one you're working with ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: when an alarm timer fires, this function runs through the timerqueue to see which alarms expired, and then runs those. that's the main character moment πŸ”₯

and if there are more alarm timers queued up for the future? no worries, bestie β€” we set the hrtimer to fire when the next future alarm timer expires. lowkey genius scheduling behaviour, ngl πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

like, that's the whole alarmtimer friend group and they're all iconic in their own way πŸ’–


that's the whole page bestie β€” much love from ./kernel/time, dated October 2026, and this was alarmtimer_fired(9) signing off πŸ§šβ€β™€οΈβœ¨ slay responsibly πŸ‘‘

πŸ“¦ where this page comes from