Date: Sun, 1 Mar 2015 02:31:28 +0000 (UTC) From: Neel Natu <neel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279468 - head/sys/x86/include Message-ID: <201503010231.t212VSgL047037@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: neel Date: Sun Mar 1 02:31:27 2015 New Revision: 279468 URL: https://svnweb.freebsd.org/changeset/base/279468 Log: Free up the IPI slot used by IPI_STOP_HARD. Change the numeric value of IPI_STOP_HARD so it doesn't occupy a valid IPI slot. This can be done because IPI_STOP_HARD is actually delivered via NMI. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D1983 Modified: head/sys/x86/include/apicvar.h Modified: head/sys/x86/include/apicvar.h ============================================================================== --- head/sys/x86/include/apicvar.h Sun Mar 1 01:08:14 2015 (r279467) +++ head/sys/x86/include/apicvar.h Sun Mar 1 02:31:27 2015 (r279468) @@ -126,7 +126,12 @@ #define IPI_STOP (APIC_IPI_INTS + 7) /* Stop CPU until restarted. */ #define IPI_SUSPEND (APIC_IPI_INTS + 8) /* Suspend CPU until restarted. */ -#define IPI_STOP_HARD (APIC_IPI_INTS + 9) /* Stop CPU with a NMI. */ + +/* + * IPI_STOP_HARD does not need to occupy a slot in the IPI vector space since + * it is delivered using an NMI anyways. + */ +#define IPI_STOP_HARD 255 /* Stop CPU with a NMI. */ /* * The spurious interrupt can share the priority class with the IPIs since
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503010231.t212VSgL047037>