On Saturday, May 07, 2011 5:37:26 am Andriy Gapon wrote:
> 
> I believe that the following change is needed to fix COUNT_IPIS option.
> Right now it seems to be a noop.
> 
> 
>     mp_ipi_intrcnt: CPU_FOREACH can't be used this early
> 
>     ... because all_cpus is not set yet.

Have you tested this?

all_cpus is set by start_all_aps() from cpu_mp_start() which runs at 
SI_SUB_CPU.   This SYSINIT runs later at SI_SUB_INTR.

So I think CPU_FOREACH() should be fine here.

-- 
John Baldwin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to