If the thread's lock is already that of the runqueue, don't recurse on
the queue lock.
Details
Details
- Reviewers
jeff kib - Commits
- rS357473: Fix the !SMP case in sched_add() after r355779.
Fixes a panic on boot that I hit while trying to reproduce an unrelated problem.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I thought I tested !SMP but maybe I just built it. This LGTM.
Looking at this I should really just add srqflags to thread_lock_set and possibly something similar to thread_lock_block().