diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2019-08-02 02:17:36 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2019-08-02 02:17:36 +0000 |
commit | ea5f6879636efd4687cdaebb76b2f9c14196dac0 (patch) | |
tree | 975954ef233bcae390eb164ae81a1c7ced8563be /sys/crypto/cast.h | |
parent | a7cabbf44ca93fb3c5dbacebc21533116d9f0f73 (diff) |
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@
Diffstat (limited to 'sys/crypto/cast.h')
0 files changed, 0 insertions, 0 deletions