From: mlarkin Date: Tue, 14 Apr 2015 05:21:51 +0000 (+0000) Subject: Reduce differences between non-PAE and PAE pmaps. This diff removes an X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d3db7503cdfaebad6557eec6e0f0e511100d4186;p=openbsd Reduce differences between non-PAE and PAE pmaps. This diff removes an unneeded disable/enable_intr sequence around the PTE unmap operation. --- diff --git a/sys/arch/i386/i386/pmapae.c b/sys/arch/i386/i386/pmapae.c index 142a2e863ac..8061392e8ac 100644 --- a/sys/arch/i386/i386/pmapae.c +++ b/sys/arch/i386/i386/pmapae.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmapae.c,v 1.30 2015/04/12 21:37:33 mlarkin Exp $ */ +/* $OpenBSD: pmapae.c,v 1.31 2015/04/14 05:21:51 mlarkin Exp $ */ /* * Copyright (c) 2006-2008 Michael Shalayeff @@ -532,14 +532,11 @@ pmap_unmap_ptes_pae(struct pmap *pmap) if (!pmap_is_curpmap(pmap)) { #if defined(MULTIPROCESSOR) - int ef = read_eflags(); - disable_intr(); APDP_PDE[0] = 0; APDP_PDE[1] = 0; APDP_PDE[2] = 0; APDP_PDE[3] = 0; pmap_apte_flush(); - write_eflags(ef); #endif } }