]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFp4:
authordavidxu <davidxu@FreeBSD.org>
Thu, 9 Dec 2010 02:42:02 +0000 (02:42 +0000)
committerdavidxu <davidxu@FreeBSD.org>
Thu, 9 Dec 2010 02:42:02 +0000 (02:42 +0000)
commit171976dba2208151b69025bbf1a0b5f395ddf742
tree55786772bf8f6d419f8a02f1838bde8b593e497f
parent9eb44e2a50d42aea2650694312bacb8b83a22cc5
MFp4:
It is possible a lower priority thread lending priority to higher priority
thread, in old code, it is ignored, however the lending should always be
recorded, add field td_lend_user_pri to fix the problem, if a thread does
not have borrowed priority, its value is PRI_MAX.

MFC after: 1 week
sys/kern/init_main.c
sys/kern/kern_fork.c
sys/kern/kern_thread.c
sys/kern/kern_umtx.c
sys/kern/sched_4bsd.c
sys/kern/sched_ule.c
sys/sys/proc.h