CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2019/08/01 21:33:15

Modified files:
        sys/sys        : time.h 

Log message:
missing part of commit by cheloha:

per-process itimers: itimerval -> itimerspec

Loongson runs at 128hz.  128 doesn't divide evenly into a million,
but it does divide evenly into a billion.  So if we do the per-process
itimer bookkeeping with itimerspec structs we can have error-free
virtual itimers on loongson just as we do on most other platforms.

This change doesn't fix the virtual itimer error alpha, as 1024 does not
divide evenly into a billion.  But this doesn't make the situation any
worse, either.

ok deraadt@

Reply via email to