HomeFreeBSD

x86: Fix lapic_ipi_alloc() on i386

Description

x86: Fix lapic_ipi_alloc() on i386

The loop which checks to see if "dynamic" IDT entries are allocated
needs to compare with the trampoline address of the reserved ISR.
Otherwise it will never succeed.

Reported by: Harry Schmalzbauer <freebsd@omnilan.de>
Tested by: Harry Schmalzbauer <freebsd@omnilan.de>
Reviewed by: kib
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 18f55c67f746f0ad12fe972328234d340a621df9)

Details

Provenance
markjAuthored on May 31 2021, 10:51 PM
Parents
rG70aba9512b53: kqueue: replace kq_ncallouts loop with atomic_fetchadd
Branches
Unknown
Tags
Unknown