[Bug 292496] linux_timer_create error when using LINUX_CLOCK_MONOTONIC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jan 2026 15:45:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292496 --- Comment #2 from Andrey Antufyev <andrey.antufyev@yandex.ru> --- (In reply to Warner Losh from comment #1) > #define MAX_CLOCKS (CLOCK_TAI+1) > #define CLOCK_TAI 16 Indeed. I checked it on 16-CURRENT, but didn't look at its source code. Well, the error remains in CURRENT, now it occurs on the next check in kern_ktimer_create: if (posix_clocks[clock_id].timer_create == NULL). I don't know what register_posix_clock is, but I added register_posix_clock(CLOCK_UPTIME, &rt_clock) to itimer_start() and it worked. -- You are receiving this mail because: You are the assignee for the bug.