summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-04-22 05:23:08 +0000
committerdyson <dyson@FreeBSD.org>1996-04-22 05:23:08 +0000
commitdf610a2d49899e19f6ef1c651399025176789474 (patch)
treef68fc962475e445b980b0c2930d316e568283724 /sys/amd64
parent4ecfcaa97211bb6b6c946565211eaf8ec41ab608 (diff)
downloadFreeBSD-src-df610a2d49899e19f6ef1c651399025176789474.zip
FreeBSD-src-df610a2d49899e19f6ef1c651399025176789474.tar.gz
This fixes a troubling oversight in some of the pmap code enhancements.
One of the manifiestations of the problem includes the -4 RSS problem in ps. Reviewed by: dyson Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index f39559f..c3e1724 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
- * $Id: pmap.c,v 1.84 1996/03/31 23:00:32 davidg Exp $
+ * $Id: pmap.c,v 1.85 1996/04/07 02:23:05 dyson Exp $
*/
/*
@@ -543,6 +543,7 @@ pmap_getpdir() {
--nfreepdir;
pdir = pdirlist;
pdirlist = (caddr_t *) *pdir;
+ *pdir = 0;
#if 0 /* Not needed anymore */
bzero( (caddr_t) pdir, PAGE_SIZE);
#endif
OpenPOWER on IntegriCloud