ptp_schedule_worker(9)
π ptp_schedule_worker β kernel API manual, bestie edition
okay so real talk, this is the ptp_schedule_worker(9) page from the Kernel API Manual, and it's short but it's mighty, so let's get into it β¨
πΈ NAME πΈ
ptp_schedule_worker β schedule ptp auxiliary work π«Ά
like, it books the worker thread in for a vibe check later. that's the whole job and it ate π
β¨ SYNOPSIS β¨
int ptp_schedule_worker (struct ptp_clock *ptp , unsigned long delay );
that's it. that's the whole signature. gorgeous. no cap π
π ARGUMENTS π
ptpβ the clock you got fromptp_clock_register. yes, that one. the whole reason you're here, the main character of the operation πdelayβ the number of jiffies to wait before queuing. and listen, if you wanna know what a "jiffy" is doing in this context, the page itself says seekthread_queue_delayed_workfor more info β so fr fr, go read that one, i'm not gonna make stuff up π
ngl, two arguments and zero drama. we love a low-effort queen π¦
π₯ SEE ALSO π₯
okay this is the part where the page goes full group-chat-tag-everyone mode, because there is a lot of family here:
- kernel file
./include/linux/ptp_clock_kernel.hβ the literal source of truth, periodt π struct ptp_clock_request(9)struct ptp_system_timestamp(9)struct ptp_clock_info(9)struct ptp_clock_event(9)scaled_ppm_to_ppb(9)diff_by_scaled_ppm(9)adjust_by_scaled_ppm(9)ptp_clock_register(9)ptp_clock_unregister(9)ptp_clock_event(9)ptp_clock_index(9)ptp_clock_index_by_of_node(9)ptp_clock_index_by_dev(9)ptp_find_pin(9)ptp_find_pin_unlocked(9)ptp_cancel_worker_sync(9)ptp_get_vclocks_index(9)ptp_convert_timestamp(9)
like yes, ptp_clock_event(9) shows up twice in the original list. i'm not fixing it. i'm not merging it. i'm respecting the lore β
and that's the whole page bestie!! go schedule that worker, you absolute icon ππ
sign-off szn π this lil beauty lives in ./include/linux, it's dated October 2026, and it answers to the name ptp_schedule_worker(9). 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