diff options
author | tegge <tegge@FreeBSD.org> | 1998-05-17 23:08:04 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1998-05-17 23:08:04 +0000 |
commit | cf73abacf64ec3efb95391eb2ed8534616b34af0 (patch) | |
tree | cc50c910cfd4ab91e17bd99a682f8837ae5b01d8 /sys/i386/include/globaldata.h | |
parent | 0795c2718fe5bddffbddbc5450d8a1869eae3042 (diff) | |
download | FreeBSD-src-cf73abacf64ec3efb95391eb2ed8534616b34af0.zip FreeBSD-src-cf73abacf64ec3efb95391eb2ed8534616b34af0.tar.gz |
Change simple lock handling to not depend upon having a local apic
available. The per-cpu variable ss_tpr has been replaced by ss_eflags.
This reduced the number of interrupts sent to the wrong CPU, due to
the cpu having the global lock being inside a critical region.
Remove some unneeded manipulation of tpr register in mplock.s.
Adjust code in mplock.s to be aware of variables on the stack being
destroyed by MPgetlock if GRAB_LOPRIO is defined.
Diffstat (limited to 'sys/i386/include/globaldata.h')
-rw-r--r-- | sys/i386/include/globaldata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/globaldata.h b/sys/i386/include/globaldata.h index efaa10a..af8e806 100644 --- a/sys/i386/include/globaldata.h +++ b/sys/i386/include/globaldata.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: globaldata.h,v 1.2 1998/04/06 18:59:15 peter Exp $ + * $Id: globaldata.h,v 1.3 1998/05/17 18:53:07 tegge Exp $ */ /* @@ -53,7 +53,7 @@ struct globaldata { u_int cpu_lockid; u_int other_cpus; pd_entry_t *my_idlePTD; - u_int ss_tpr; + u_int ss_eflags; pt_entry_t *prv_CMAP1; pt_entry_t *prv_CMAP2; pt_entry_t *prv_CMAP3; |