[Bug 262273] Subsuquent Calls to clock_gettime(CLOCK_THREAD_CPUTIME_ID,... ) return time in the past
Date: Tue, 01 Mar 2022 15:47:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262273 --- Comment #9 from firk@cantconnect.ru --- Created attachment 232188 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232188&action=edit attempt to fix the problem Please try this patch to kernel. Looks like it is a conflict between switchtime/runtime reading in kern_thread_cputime() and switchtime/runtime updating in statclock(). Fixing statclock will be to expensive, so just make workaround in kern_thread_cputime(). -- You are receiving this mail because: You are the assignee for the bug.