summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-07-21 00:29:21 +0000
committerpeter <peter@FreeBSD.org>2004-07-21 00:29:21 +0000
commit01e5736d40b77bfeecb880d20f407f3b46e6876f (patch)
treeae883af25e2efb9aae43652f1967ca375d910008 /usr.bin/fstat
parent4f3de515b5d2c4992f8d1b55f58f34631f9ff6f0 (diff)
downloadFreeBSD-src-01e5736d40b77bfeecb880d20f407f3b46e6876f.zip
FreeBSD-src-01e5736d40b77bfeecb880d20f407f3b46e6876f.tar.gz
Move the initialization and teardown of pmaps to the vmspace zone's
init and fini handlers. Our vm system removes all userland mappings at exit prior to calling pmap_release. It just so happens that we might as well reuse the pmap for the next process since the userland slate has already been wiped clean. However. There is a functional benefit to this as well. For platforms that share userland and kernel context in the same pmap, it means that the kernel portion of a pmap remains valid after the vmspace has been freed (process exit) and while it is in uma's cache. This is significant for i386 SMP systems with kernel context borrowing because it avoids a LOT of IPIs from the pmap_lazyfix() cleanup in the usual case. Tested on: amd64, i386, sparc64, alpha Glanced at by: alc
Diffstat (limited to 'usr.bin/fstat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud