summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-06-29 15:57:05 +0000
committerpeter <peter@FreeBSD.org>2004-06-29 15:57:05 +0000
commit486f03d1c3d52e46694e570a1fe6a5336a36718c (patch)
treed11bda1fdffe1ddfdd333f4f7e1b7a910bec5b8a /usr.sbin
parentdd192c5d24376d03194e811c08bf6e775820b16a (diff)
downloadFreeBSD-src-486f03d1c3d52e46694e570a1fe6a5336a36718c.zip
FreeBSD-src-486f03d1c3d52e46694e570a1fe6a5336a36718c.tar.gz
Reduce the size of pv entries by 15%. This saves 1MB of KVA for mapping
pv entries per 1GB of user virtual memory. (eg: if we had 1GB file was mmaped into 30 processes, that would theoretically reduce the KVA demand by 30MB for pv entries. In reality though, we limit pv entries so we don't have that many at once.) We used to store the vm_page_t for the page table page. But we recently had the pa of the ptp, or can calculate it fairly quickly. If we wanted to avoid the shift/mask operation in pmap_pde(), we could recover the pa but that means we have to store it for a while. This does not measurably change performance. Suggested by: alc Tested by: alc
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud