schedule_tim...nterruptible(9)
π€ schedule_tim...nterruptible(9) β like, the Kernel API Manual one, bestie
okay so first thing, no cap: the page header literally reads schedule_tim...nterruptible(9) and that's from the Kernel API Manual, and yes it IS truncated mid-word and yes we're just gonna live with it π
the real function is schedule_timeout_uninterruptible and she's the main character here, periodt.
β¨ NAME β¨
schedule_timeout_uninterruptible β sleep until timeout (uninterruptible) π
Like, you go to sleep, and nobody can poke you awake. Iconic behaviour, lowkey terrifying, we'll get to that.
πΈ SYNOPSIS πΈ
signed long schedule_timeout_uninterruptible (signed long timeout );
That's the whole vibe. One argument in, a signed long back out. Slay.
π«Ά ARGUMENTS π«Ά
timeoutβ the timeout value, and it's measured in jiffies β³ (yes, jiffies, the kernel's own little unit of time, don't ask me to convert it, that's a whole other manpage)
π DESCRIPTION π
So for the actual details you gotta go see schedule_timeout, fr fr β this page is like the β¨special editionβ¨ cover and schedule_timeout is the full novel. Go read that one for the lore.
The one thing this page absolutely needs you to know: task state is set to TASK_UNINTERRUPTIBLE before starting the timeout. π₯
Which means β and I say this with love β your task is not interruptible while it's chilling in here. It's giving "do not disturb, I mean it." π
π SEE ALSO π
Kernel file ./kernel/time/sleep_timeout.c β that's where the source lives, go snoop π§
schedule_timeout(9)β the big one, the details-haver, go here first πschedule_timeout_interruptible(9)schedule_timeout_killable(9)schedule_timeout_idle(9)schedule_hrtimeout_range_clock(9)schedule_hrtimeout_range(9)schedule_hrtimeout(9)msleep(9)msleep_interruptible(9)usleep_range_state(9)
the whole sleep squad honestly, they all ate π
okay bye bestie, that's the page!! π¦ this gem is from ./kernel/time, dated October 2026, and it's called schedule_tim...nterruptible(9) which is genuinely how it's spelled on the tin, don't come for me π love u, go take a nap (uninterruptibly, apparently) ππΈ
π¦ 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