mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
amd64: Annotate an unlikely condition in smp_targeted_tlb_shootdown()
Reviewed by: alc, kib MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
d28af1abf0
commit
42c2cd1ffb
1 changed files with 1 additions and 1 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue