Fix VIRTUAL and PROF interval timers for short intervals, broken at r247903.
authormav <mav@FreeBSD.org>
Wed, 16 Apr 2014 18:37:46 +0000 (18:37 +0000)
committermav <mav@FreeBSD.org>
Wed, 16 Apr 2014 18:37:46 +0000 (18:37 +0000)
commit5058ec1a0c2bcde61805f068a12aa6289fe46c2c
treea3f95eda8b466a4a8da71a723d6052bf68f4783f
parent535b38ba9bddd1baa9238b61dee0f94f8aff7361
Fix VIRTUAL and PROF interval timers for short intervals, broken at r247903.

Due to the way those timers are implemented, we can't handle very short
intervals.  In addition to that mentioned patch caused math overflows
for short intervals.  To avoid that round those intervals to 1 tick.

PR: kern/187668
MFC after: 1 week
sys/kern/kern_time.c