]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the !SMP case in sched_add() after r355779.
authormarkj <markj@FreeBSD.org>
Mon, 3 Feb 2020 22:49:05 +0000 (22:49 +0000)
committermarkj <markj@FreeBSD.org>
Mon, 3 Feb 2020 22:49:05 +0000 (22:49 +0000)
commitb7b7769e947a139f7ab610561b4d427bc2b9e035
treeca8091fb3fe8784be29318d72bc758b631681756
parent4fae937212ed9ff941155cc1c3710f29c01c1078
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
sys/kern/sched_ule.c