From b672570754b178caab507ccdc9ff98b9f0e54b5f Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Thu, 26 Jun 1997 02:04:34 +0000 Subject: [PATCH] Back out a bad commit. --- sys/amd64/amd64/vm_machdep.c | 4 +--- sys/i386/i386/vm_machdep.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index bc8ba256477f..a41451e8bfbc 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.81 1997/06/22 16:03:40 peter Exp $ + * $Id: vm_machdep.c,v 1.82 1997/06/25 19:49:45 tegge Exp $ */ #include "npx.h" @@ -921,9 +921,7 @@ vm_page_zero_idle() --(*vm_page_queues[m->queue].lcnt); TAILQ_REMOVE(vm_page_queues[m->queue].pl, m, pageq); splx(s); - (void)splvm(); pmap_zero_page(VM_PAGE_TO_PHYS(m)); - splx(s); (void)splvm(); m->queue = PQ_ZERO + m->pc; ++(*vm_page_queues[m->queue].lcnt); diff --git a/sys/i386/i386/vm_machdep.c b/sys/i386/i386/vm_machdep.c index bc8ba256477f..a41451e8bfbc 100644 --- a/sys/i386/i386/vm_machdep.c +++ b/sys/i386/i386/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.81 1997/06/22 16:03:40 peter Exp $ + * $Id: vm_machdep.c,v 1.82 1997/06/25 19:49:45 tegge Exp $ */ #include "npx.h" @@ -921,9 +921,7 @@ vm_page_zero_idle() --(*vm_page_queues[m->queue].lcnt); TAILQ_REMOVE(vm_page_queues[m->queue].pl, m, pageq); splx(s); - (void)splvm(); pmap_zero_page(VM_PAGE_TO_PHYS(m)); - splx(s); (void)splvm(); m->queue = PQ_ZERO + m->pc; ++(*vm_page_queues[m->queue].lcnt);