Always set the timeout at least one tick in the future for EVFILT_TIMER
authorguenther <guenther@openbsd.org>
Sun, 11 Oct 2015 01:53:39 +0000 (01:53 +0000)
committerguenther <guenther@openbsd.org>
Sun, 11 Oct 2015 01:53:39 +0000 (01:53 +0000)
commitad228b768a26a287c790dd53f8f6a069ce90a5a3
tree8e9e199c15b62291a3a9611dcd257d846131dadd
parentfbc54f53c124f3b8dfe4b786a5744672be6c9b27
Always set the timeout at least one tick in the future for EVFILT_TIMER
to avoid looping in softclock()

based on diff by sthen@
ok sthen@
sys/kern/kern_event.c