hrtimer_sle...tart_expires(9)
π hrtimer_sle...tart_expires(9) β like, the whole glow-up
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function from the kernel that's giving "i'm just a wrapper but i'm doing the most." let's get into it π
β¨ NAME β¨
hrtimer_sleeper_start_expires β start a hrtimer sleeper timer π«Ά that's it, that's the whole vibe.
πΈ SYNOPSIS πΈ
void hrtimer_sleeper_start_expires (struct hrtimer_sleeper *sl , enum
hrtimer_mode mode );
look at her. iconic signature. no return value because she doesn't need to prove anything π
π¦ ARGUMENTS π¦
slβ the sleeper that's getting started. the main character of this whole operation πmodeβ the timer mode,abs/rel. you know, absolute or relative. pick your timeline bestie β°
π DESCRIPTION π
so here's the tea: this is a wrapper around hrtimer_start_expires for hrtimer_sleeper-based timers. why does it exist? because it lets PREEMPT_RT tweak the delivery mode (soft/hardirq context). ngl that's the entire reason. she's a little middle-man and honestly? respect. π
π₯ SEE ALSO π₯
kernel file ./kernel/time/hrtimer.c β and the whole friend group:
hrtimer_update_function(9)hrtimer_forward(9)hrtimer_start_range_ns(9)hrtimer_start_range_ns_user(9)hrtimer_try_to_cancel(9)hrtimer_cancel(9)__hrtimer_get_remaining(9)hrtimer_get_next_event(9)hrtimer_next_event_without(9)hrtimer_setup(9)hrtimer_setup_on_stack(9)hrtimer_setup_sleeper_on_stack(9)
π reminder bestie: this page came out October 2026 from ./kernel/time. that's the source and the date, fr fr. don't come for me, that's just what the docs say π
okay that's the whole page. go forth and start your sleepers, queen βπ§π
π¦ 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