CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2020/08/11 09:41:50

Modified files:
        sys/kern       : kern_time.c 

Log message:
getitimer(2): don't enter itimer_mtx to read ITIMER_REAL itimerspec

The ITIMER_REAL per-process interval timer is protected by the kernel
lock.  The ITIMER_REAL timeout (ps_realit_to), setitimer(2), and
getitimer(2) all run under the kernel lock.  Entering itimer_mtx
during getitimer(2) when reading the ITIMER_REAL ps_timer state is
superfluous and misleading.

Reply via email to