CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2020/08/11 08:57:56

Modified files:
        sys/sys        : proc.h 

Log message:
struct process: annotate locking for getitimer(2), setitimer(2)

The ITIMER_REAL itimerspec (ps_timer[0]) and timeout (ps_realit_to)
are protected by the kernel lock.  Annotate them with "K".

The ITIMER_VIRTUAL and ITIMER_PROF itimerspecs (ps_timer[1],
ps_timer[2]) are protected by itimer_mtx.  Annotate them with "T",
for "timer".

With input from kettenis@ and anton@.

ok kettenis@, anton@

Reply via email to