Il 06 aprile 2012 22:19, Justin T. Gibbs <gi...@freebsd.org> ha scritto:
> Author: gibbs
> Date: Fri Apr  6 21:19:28 2012
> New Revision: 233961
> URL: http://svn.freebsd.org/changeset/base/233961
>
> Log:
>  Fix interrupt load balancing regression, introduced in revision
>  222813, that left all un-pinned interrupts assigned to CPU 0.
>
>  sys/x86/x86/intr_machdep.c:
>        In intr_shuffle_irqs(), remove CPU_SETOF() call that initialized
>        the "intr_cpus" cpuset to only contain CPU0.
>
>        This initialization is too late and nullifies the results of calls
>        the intr_add_cpu() that occur much earlier in the boot process.
>        Since "intr_cpus" is statically initialized to the empty set, and
>        all processors, including the BSP, already add themselves to
>        "intr_cpus" no special initialization for the BSP is necessary.

For instance, the SETOF is not necessary here because
set_interrupt_apic_ids() already does intr_add_cpu() for BSP too.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to