Don't schedule a CALL_FUNCTION_VECTOR software IPI if the IPI was signaled

via the bitmap (and thus sent via RESCHEDULE_VECTOR.)
This commit is contained in:
Adrian Chadd 2009-05-30 14:59:08 +00:00
parent 2a61ba476b
commit d68bbb81fb

View File

@ -1132,10 +1132,10 @@ ipi_selected(cpumask_t cpus, u_int ipi)
ipi_pcpu(cpu, RESCHEDULE_VECTOR);
continue;
} else {
KASSERT(call_data != NULL, ("call_data not set"));
ipi_pcpu(cpu, CALL_FUNCTION_VECTOR);
}
KASSERT(call_data != NULL, ("call_data not set"));
ipi_pcpu(cpu, CALL_FUNCTION_VECTOR);
}
}