]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 216504:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 20 Dec 2010 17:08:22 +0000 (17:08 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 20 Dec 2010 17:08:22 +0000 (17:08 +0000)
commit889d28b9c78a9a5dae057d0e65e2c25629a29b07
tree5e04588835f9cc096181a3042ba194907d2a9a13
parentd32678c42c5e22148e6564443d1a814f75ce3aa5
MFC 216504:
Add back a bounds check on valid idle priorities that was lost in an
earlier commit.  While here, move the thread lock down in rtp_to_pri().
It is not needed for all of the priority value checks and the computation
of newpri.

Approved by: re (kib)

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