HomeFreeBSD

Fix the !SMP case in sched_add() after r355779.

Description

Fix the !SMP case in sched_add() after r355779.

If the thread's lock is already that of the runqueue, don't recurse on
the queue lock.

Reviewed by: jeff, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23492

Details

Provenance
markjAuthored on
Reviewer
jeff
Differential Revision
D23492: Fix the !SMP case in sched_add().
Parents
rS357472: fd: partially unengrish the previous commit
Branches
Unknown
Tags
Unknown