John Baldwin 0c0d27d5dd Cap the priority calculated from the current thread's running tick count
at SCHED_PRI_RANGE to prevent overflows in the priority value.  This can
happen due to irregularities with clock interrupts under certain
virtualization environments.

Tested by:	Larry Rosenman  ler lerctr org
MFC after:	2 weeks
2011-12-29 16:17:16 +00:00
..
2011-12-05 10:34:52 +00:00
2011-04-13 11:28:46 +00:00
2011-11-06 08:10:41 +00:00
2010-11-25 20:05:11 +00:00
2011-12-17 22:18:26 +00:00
2011-07-10 00:53:04 +00:00
2011-12-15 15:17:19 +00:00