Complete MFC of rev. 1.215:
Fix a LOR between sched_lock and sleep queue lock. Approved by: re (scottl)
This commit is contained in:
parent
2602cc468e
commit
64168ac065
@ -707,8 +707,8 @@ kse_create(struct thread *td, struct kse_create_args *uap)
|
||||
* Make the new upcall available to the ksegrp.
|
||||
* It may or may not use it, but it's available.
|
||||
*/
|
||||
PROC_UNLOCK(p);
|
||||
upcall_link(newku, newkg);
|
||||
PROC_UNLOCK(p);
|
||||
if (mbx.km_quantum)
|
||||
newkg->kg_upquantum = max(1, mbx.km_quantum / tick);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user