Fix wrong assertion in r352658.
MFC after: 1 month
This commit is contained in:
parent
a35a97ae12
commit
bb3dfc6ae9
@ -1345,7 +1345,7 @@ sched_pickcpu(struct thread *td, int flags)
|
||||
if (cpu >= 0)
|
||||
SCHED_STAT_INC(pickcpu_lowest);
|
||||
}
|
||||
KASSERT(cpu < 0, ("sched_pickcpu: Failed to find a cpu."));
|
||||
KASSERT(cpu >= 0, ("sched_pickcpu: Failed to find a cpu."));
|
||||
KASSERT(!CPU_ABSENT(cpu), ("sched_pickcpu: Picked absent CPU %d.", cpu));
|
||||
/*
|
||||
* Compare the lowest loaded cpu to current cpu.
|
||||
|
Loading…
Reference in New Issue
Block a user