Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1670058
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [patch 54/55] x86/apic: Mark single target interrupts |
| Date | 2017-06-20 02:10 +0200 |
| Message-ID | <tUeU1-1fU-3@gated-at.bofh.it> (permalink) |
| References | <tUeKl-Xe-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
If the interrupt destination mode of the APIC is physical then the effective affinity is restricted to a single CPU. Mark the interrupt accordingly in the domain allocation code, so the core code can avoid pointless affinity setting attempts. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- arch/x86/kernel/apic/vector.c | 7 +++++++ 1 file changed, 7 insertions(+) --- a/arch/x86/kernel/apic/vector.c +++ b/arch/x86/kernel/apic/vector.c @@ -371,6 +371,13 @@ static int x86_vector_alloc_irqs(struct irq_data); if (err) goto error; + /* + * If the apic destination mode is physical, then the + * effective affinity is restricted to a single target + * CPU. Mark the interrupt accordingly. + */ + if (!apic->irq_dest_mode) + irqd_set_single_target(irq_data); } return 0;
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[patch 54/55] x86/apic: Mark single target interrupts Thomas Gleixner <tglx@linutronix.de> - 2017-06-20 02:10 +0200 [tip:irq/core] x86/apic: Mark single target interrupts tip-bot for Thomas Gleixner <tipbot@zytor.com> - 2017-06-22 19:20 +0200
csiph-web