]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new ipi_cpu() function to the MI IPI API that can be used to send an
authorjhb <jhb@FreeBSD.org>
Fri, 6 Aug 2010 15:36:59 +0000 (15:36 +0000)
committerjhb <jhb@FreeBSD.org>
Fri, 6 Aug 2010 15:36:59 +0000 (15:36 +0000)
commit19ddbf5c3845e0aaeed327e2be2f168e30013b63
tree90823b92f30822fa8ac56ad8c70614f9aae1017a
parent57b610d580a3dd85aaac28dae65ce416f30c3f31
Add a new ipi_cpu() function to the MI IPI API that can be used to send an
IPI to a specific CPU by its cpuid.  Replace calls to ipi_selected() that
constructed a mask for a single CPU with calls to ipi_cpu() instead.  This
will matter more in the future when we transition from cpumask_t to
cpuset_t for CPU masks in which case building a CPU mask is more expensive.

Submitted by: peter, sbruno
Reviewed by: rookie
Obtained from: Yahoo! (x86)
MFC after: 1 month
17 files changed:
sys/amd64/amd64/mp_machdep.c
sys/amd64/include/smp.h
sys/i386/i386/mp_machdep.c
sys/i386/include/smp.h
sys/i386/xen/mp_machdep.c
sys/ia64/ia64/mp_machdep.c
sys/ia64/include/smp.h
sys/kern/sched_4bsd.c
sys/kern/sched_ule.c
sys/kern/subr_smp.c
sys/mips/include/smp.h
sys/mips/mips/mp_machdep.c
sys/powerpc/include/smp.h
sys/powerpc/powerpc/mp_machdep.c
sys/sparc64/include/smp.h
sys/sun4v/include/smp.h
sys/sun4v/sun4v/mp_machdep.c