Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



> Module Name:    src
> Committed By:   ad
> Date:           Sun Apr 19 14:11:38 UTC 2009
> 
> <...>
>
> x86:
> 
> - Make intr_establish, intr_disestablish safe to use when !cold.
> 
> - Distribute hardware interrupts among the CPUs, instead of directing
>   everything to the boot CPU.

This is cool!

From sys/arch/x86/x86/intr.c:

/*
 * A simple round-robin allocator to assign interrupts to CPUs.
 */
static int __noinline
intr_allocate_slot(struct pic *pic, int pin, int level,
                   struct cpu_info **cip, int *index, int *idt_slot)
{

From what I read, it is no longer round-robin, right?

-- 
Best regards,
Mindaugas


Home | Main Index | Thread Index | Old Index