mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
Don't send interrupts to CPUs disabled via lapic hints.
Reported by: Ludger Bolmerg <lbolmerg ! web.de> MFC after: 3 days Pointy hat to: jhb
This commit is contained in:
parent
2dca4d3364
commit
71ddf30bd2
2 changed files with 4 additions and 0 deletions
|
|
@ -632,6 +632,8 @@ set_interrupt_apic_ids(void)
|
|||
continue;
|
||||
if (cpu_info[apic_id].cpu_bsp)
|
||||
continue;
|
||||
if (cpu_info[apic_id].cpu_disabled)
|
||||
continue;
|
||||
|
||||
/* Don't let hyperthreads service interrupts. */
|
||||
if (hyperthreading_cpus > 1 &&
|
||||
|
|
|
|||
|
|
@ -674,6 +674,8 @@ set_interrupt_apic_ids(void)
|
|||
continue;
|
||||
if (cpu_info[apic_id].cpu_bsp)
|
||||
continue;
|
||||
if (cpu_info[apic_id].cpu_disabled)
|
||||
continue;
|
||||
|
||||
/* Don't let hyperthreads service interrupts. */
|
||||
if (hyperthreading_cpus > 1 &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue