clocksource_select(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to clocksource_select(9) from the Kernel API Manual β€” the function that does a whole clocksource vibe check and picks the best one. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

void clocksource_select (void );

πŸ’… ARGUMENTS πŸ’…

  • void β€” no arguments. None. Zero. She takes literally nothing, and honestly? Iconic. 🫢

πŸŽ€ DESCRIPTION πŸŽ€

⚠️ Private function alert: you must hold clocksource_mutex when you call her. This is not optional, bestie β€” lock it up first. πŸ”

So what does she do? She selects the clocksource with the best rating, or the clocksource that is selected by userspace override. Like, she’s either going with the best-rated one or respecting the override userspace picked. Periodt. πŸ’–

🌈 SEE ALSO 🌈

Kernel file: ./kernel/time/clocksource.c β€” and the whole friend group is right here:


Source/version corner: ./kernel/time 🌸 date energy: October 2026 πŸŽ€ that’s the footer, bestie β€” mwah! πŸ’‹

πŸ“¦ where this page comes from