diff options
author | Tor Egge <tegge@FreeBSD.org> | 1998-03-03 20:55:26 +0000 |
---|---|---|
committer | Tor Egge <tegge@FreeBSD.org> | 1998-03-03 20:55:26 +0000 |
commit | 3163861c7bb17056051e94ed6a8e34108a4d7ce0 (patch) | |
tree | d39f111e4c67aa276feecb7cb8b2ff7a7c676367 /sys/amd64/isa/intr_machdep.h | |
parent | fe9cd27373ba2d41a792f8857ed4dd9205a29f88 (diff) | |
download | src-3163861c7bb17056051e94ed6a8e34108a4d7ce0.tar.gz src-3163861c7bb17056051e94ed6a8e34108a4d7ce0.zip |
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.
Notes
Notes:
svn path=/head/; revision=34020
Diffstat (limited to 'sys/amd64/isa/intr_machdep.h')
-rw-r--r-- | sys/amd64/isa/intr_machdep.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/amd64/isa/intr_machdep.h b/sys/amd64/isa/intr_machdep.h index fd0e9e7a6683..7714c0d7f1d4 100644 --- a/sys/amd64/isa/intr_machdep.h +++ b/sys/amd64/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" */ |