clocksource_select(9)
πΈ 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:
clocks_calc_mult_shift(9)clocksource_mark_unstable(9)clocksource_suspend_select(9)clocksource_start_suspend_timing(9)clocksource_stop_suspend_timing(9)clocksource_suspend(9)clocksource_resume(9)clocksource_touch_watchdog(9)clocksource_max_adjustment(9)clocks_calc_max_nsecs(9)clocksource_update_max_deferment(9)__clocksource_update_freq_scale(9)__clocksource_register_scale(9)clocksource_unregister(9)current_clocksource_show(9)current_clocksource_store(9)unbind_clocksource_store(9)available_clocksource_show(9)boot_override_clocksource(9)boot_override_clock(9)
Source/version corner: ./kernel/time πΈ date energy: October 2026 π thatβs the footer, bestie β mwah! π
π¦ 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