]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 228960:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Jan 2012 20:25:38 +0000 (20:25 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 13 Jan 2012 20:25:38 +0000 (20:25 +0000)
commit79dad3301338e0d950122352c081782272ac08fd
treeca003f655377c2403401377266c3ea38e640405d
parent45971c9b65cfeb55b5d5709f44016389f6489136
MFC 228960:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@230083 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/sched_ule.c