As of kern_time.c v1.150 these syscalls don't need the kernel lock.
ok?
Index: syscalls.master
===================================================================
RCS file: /cvs/src/sys/kern/syscalls.master,v
retrieving revision 1.209
diff -u -p -r1.209 syscalls.master
--- syscalls.master 18 Mar 2021 08:43:38 -0000 1.209
+++ syscalls.master 4 May 2021 01:10:31 -0000
@@ -159,10 +159,10 @@
struct timezone *tzp); }
68 STD NOLOCK { int sys_settimeofday(const struct timeval *tv, \
const struct timezone *tzp); }
-69 STD { int sys_setitimer(int which, \
+69 STD NOLOCK { int sys_setitimer(int which, \
const struct itimerval *itv, \
struct itimerval *oitv); }
-70 STD { int sys_getitimer(int which, \
+70 STD NOLOCK { int sys_getitimer(int which, \
struct itimerval *itv); }
71 STD { int sys_select(int nd, fd_set *in, fd_set *ou, \
fd_set *ex, struct timeval *tv); }