diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-04 17:31:43 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-04 17:31:43 +0000 |
commit | 10b9d7be19b22feb03c9b6937510f232b92da80f (patch) | |
tree | dc09c4bf79bac62ee576031b55efcfec77dec45f /sys/amd64/include/apicreg.h | |
parent | 4811e46aa5c4b7b170547e11f6458a10d784c737 (diff) | |
download | FreeBSD-src-10b9d7be19b22feb03c9b6937510f232b92da80f.zip FreeBSD-src-10b9d7be19b22feb03c9b6937510f232b92da80f.tar.gz |
Eliminate frequent silo overflows by restoring the TEST_LOPRIO code.
This code was eliminated when the PEND_INTS algorithm was added. But it was
discovered that PEND_INTS only worsen latency for FAST_INTR() routines,
which can't be marked pending.
Noticed & debugged by: dave adkins <adkin003@gold.tc.umn.edu>
Diffstat (limited to 'sys/amd64/include/apicreg.h')
-rw-r--r-- | sys/amd64/include/apicreg.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h index 8df09cd..50f8416 100644 --- a/sys/amd64/include/apicreg.h +++ b/sys/amd64/include/apicreg.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: apic.h,v 1.6 1997/07/30 22:44:20 smp Exp smp $ + * $Id: apic.h,v 1.7 1997/08/04 17:20:39 smp Exp smp $ */ #ifndef _MACHINE_APIC_H_ @@ -221,7 +221,11 @@ typedef struct IOAPIC ioapic_t; */ /* default level for TPR */ -#define LOPRIO_LEVEL 0x00000010 /* TPR of CPUs accepting INT */ +#define LOPRIO_LEVEL 0x00000010 /* TPR of CPU accepting INTs */ + +#ifdef GRAB_LOPRIO +#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */ +#endif /** GRAB_LOPRIO */ /* XXX these 2 don't really belong here... */ #define COUNT_FIELD 0x00ffffff /* count portion of the lock */ |