Re: COUNT_IPIS vs CPU_FOREACH

2011-05-10 Thread Andriy Gapon
on 09/05/2011 16:35 John Baldwin said the following: > 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 >> >>

Re: COUNT_IPIS vs CPU_FOREACH

2011-05-09 Thread John Baldwin
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 th

COUNT_IPIS vs CPU_FOREACH

2011-05-07 Thread Andriy Gapon
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. diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 33bb424..3d9