amd64: Annotate an unlikely condition in smp_targeted_tlb_shootdown()

Reviewed by:	alc, kib
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 42c2cd1ffb)
This commit is contained in:
Mark Johnston 2021-11-15 12:40:00 -05:00
parent 0d900a16d0
commit 291166ab49

View File

@ -625,7 +625,7 @@ smp_targeted_tlb_shootdown(cpuset_t mask, pmap_t pmap, vm_offset_t addr1,
* It is not necessary to signal other CPUs while booting or
* when in the debugger.
*/
if (kdb_active || KERNEL_PANICKED() || !smp_started)
if (__predict_false(kdb_active || KERNEL_PANICKED() || !smp_started))
goto local_cb;
KASSERT(curthread->td_pinned > 0, ("curthread not pinned"));