diff options
author | tegge <tegge@FreeBSD.org> | 1998-03-03 20:55:26 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1998-03-03 20:55:26 +0000 |
commit | beae57c5b35bad7c8aa9705208f9552264588380 (patch) | |
tree | f89cc835110885b4202e5295b2879e9f58affc59 /sys/i386/isa/intr_machdep.h | |
parent | 9b0c9780e5a76a291874bbf8a8a3fb43d2fcd328 (diff) | |
download | FreeBSD-src-beae57c5b35bad7c8aa9705208f9552264588380.zip FreeBSD-src-beae57c5b35bad7c8aa9705208f9552264588380.tar.gz |
Forward the signal if the process runs on a different CPU. This reduces
the signal handling latency for cpu-bound processes that performs very
few system calls.
The IPI for forcing an additional software trap is no longer dependent upon
BETTER_CLOCK being defined.
Diffstat (limited to 'sys/i386/isa/intr_machdep.h')
-rw-r--r-- | sys/i386/isa/intr_machdep.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/i386/isa/intr_machdep.h b/sys/i386/isa/intr_machdep.h index fd0e9e7..7714c0d 100644 --- a/sys/i386/isa/intr_machdep.h +++ b/sys/i386/isa/intr_machdep.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)isa_device.h 7.1 (Berkeley) 5/9/91 - * $Id: intr_machdep.h,v 1.8 1997/12/08 22:59:39 fsmp Exp $ + * $Id: intr_machdep.h,v 1.9 1998/02/13 06:59:22 bde Exp $ */ #ifndef _I386_ISA_INTR_MACHDEP_H_ @@ -111,9 +111,11 @@ #ifdef BETTER_CLOCK /* inter-cpu clock handling */ #define XCPUCHECKSTATE_OFFSET (ICU_OFFSET + 113) -#define XCPUAST_OFFSET (ICU_OFFSET + 114) #endif +/* IPI to generate an additional software trap at the target CPU */ +#define XCPUAST_OFFSET (ICU_OFFSET + 48) + /* IPI to signal CPUs to stop and wait for another CPU to restart them */ #define XCPUSTOP_OFFSET (ICU_OFFSET + 128) @@ -170,8 +172,8 @@ inthand_t Xinvltlb, /* TLB shootdowns */ #ifdef BETTER_CLOCK Xcpucheckstate, /* Check cpu state */ - Xcpuast, /* Additional software trap on other cpu */ #endif + Xcpuast, /* Additional software trap on other cpu */ Xcpustop, /* CPU stops & waits for another CPU to restart it */ Xspuriousint; /* handle APIC "spurious INTs" */ |