svn commit: r196319 - in stable/8/sys: . amd64/amd64
amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica
contrib/pf dev/ata dev/cxgb dev/mfi dev/xen/netfront
dev/xen/xenpci modules/dtrace...
Konstantin Belousov
kib at FreeBSD.org
Mon Aug 17 13:32:56 UTC 2009
Author: kib
Date: Mon Aug 17 13:32:56 2009
New Revision: 196319
URL: http://svn.freebsd.org/changeset/base/196319
Log:
MFC r196318:
Correct accounting error when allocating a a page table page to implement
a user-space demotion.
Approved by: re (rwatson)
Modified:
stable/8/sys/ (props changed)
stable/8/sys/amd64/amd64/pmap.c
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/ata/ (props changed)
stable/8/sys/dev/cxgb/ (props changed)
stable/8/sys/dev/mfi/ (props changed)
stable/8/sys/dev/xen/netfront/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/modules/dtrace/dtnfsclient/ (props changed)
stable/8/sys/modules/ip6_mroute_mod/ (props changed)
stable/8/sys/modules/ipmi/ipmi_linux/ (props changed)
stable/8/sys/netinet/ipfw/ip_dummynet.c (props changed)
stable/8/sys/netinet/ipfw/ip_fw2.c (props changed)
stable/8/sys/netinet/ipfw/ip_fw_nat.c (props changed)
stable/8/sys/netinet/ipfw/ip_fw_pfil.c (props changed)
stable/8/sys/netipx/spx_reass.c (props changed)
stable/8/sys/xen/evtchn.h (props changed)
stable/8/sys/xen/hypervisor.h (props changed)
stable/8/sys/xen/xen_intr.h (props changed)
Modified: stable/8/sys/amd64/amd64/pmap.c
==============================================================================
--- stable/8/sys/amd64/amd64/pmap.c Mon Aug 17 13:27:55 2009 (r196318)
+++ stable/8/sys/amd64/amd64/pmap.c Mon Aug 17 13:32:56 2009 (r196319)
@@ -2261,6 +2261,8 @@ pmap_demote_pde(pmap_t pmap, pd_entry_t
" in pmap %p", va, pmap);
return (FALSE);
}
+ if (va < VM_MAXUSER_ADDRESS)
+ pmap->pm_stats.resident_count++;
}
mptepa = VM_PAGE_TO_PHYS(mpte);
firstpte = (pt_entry_t *)PHYS_TO_DMAP(mptepa);
More information about the svn-src-stable
mailing list