Re: [PATCH 3/3] x86_64 irq: Allocate a vector across all cpus for genapic_flat.



On Sun, Oct 08, 2006 at 07:47:55AM -0600, Eric W. Biederman wrote:

This should also fix the problem report where a hyperthreaded
cpu was receving the irq on the wrong hyperthread when in
logical delivery mode because the previous behaviour is restored.

This patch properly records our allocation of the first 16 irqs
to the first 16 available vectors on all cpus. This should be
fine but it may run into problems with multiple interrupts at
the same interrupt level. Except for some badly maintained comments
in the code and the behaviour of the interrupt allocator I have
no real understanding of that problem.

Signed-off-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>

Acked-by: Muli Ben-Yehuda <muli@xxxxxxxxxx>

Cheers,
Muli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: PATCH/RFC: [kdump] fix APIC shutdown sequence
    ... the IO-APIC gets stuck if it sends an IRQ ... that never received an EOI. ... destination CPU has accepted the interrupt. ... it will not accept the interrupt and IRR bit of IOAPIC ...
    (Linux-Kernel)
  • Re: nmi_watchdog fix for x86_64 to be more like i386
    ... either tracking or forbidding migrations of irq 0. ... IRQ_NOBALANCING is not preventing cpu unplug. ... The clock events patches changed the interrupt distribution and the ... local apic timer interrupt accounting for the broadcast case. ...
    (Linux-Kernel)
  • Re: Complete hangs while extracting source
    ... >> My entire system stops completely while unpacking large tar files, ... the interrupt level consistently stays below 2% of CPU. ... 0xc800-0xc80f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7 irq 20 at ...
    (freebsd-questions)
  • Re: [RFC][PATCH] Document what in IRQ is.
    ... +An IRQ is an interrupt request from a device. ... Interrupts are usually thrown from interrupt controllers to ... cpu a token that uniquely identifies ...
    (Linux-Kernel)
  • IRQ handling difference between i386 and x86_64
    ... It seems that IRQ handling is somehow different between i386 and x86_64. ... In my Dell PowerEdge 1950 is it possible to enable interrupts spreading over all CPUs. ... Booting it with x86_64 leads to situation, when all interrupts goes only to the first cpu matching a smp_affinity mask. ... PCI: Setting latency timer of device 0000:00:02.0 to 64 ...
    (Linux-Kernel)