summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-04-10 10:16:03 +0000
committerkib <kib@FreeBSD.org>2009-04-10 10:16:03 +0000
commit81638d98846e99a6bfcf7398057a650533aa1390 (patch)
treed2a9dfe34e82f1ea1ab3cbe791593b31fbee1dd2 /sys/nfsclient
parent5a12c5d70e83806a92145c478867d74073203a09 (diff)
downloadFreeBSD-src-81638d98846e99a6bfcf7398057a650533aa1390.zip
FreeBSD-src-81638d98846e99a6bfcf7398057a650533aa1390.tar.gz
When vm_map_wire(9) is allowed to skip holes in the wired region, skip
the mappings without any of read and execution rights, in particular, the PROT_NONE entries. This makes mlockall(2) work for the process address space that has such mappings. Since protection mode of the entry may change between setting MAP_ENTRY_IN_TRANSITION and final pass over the region that records the wire status of the entries, allocate new map entry flag MAP_ENTRY_WIRE_SKIPPED to mark the skipped PROT_NONE entries. Reported and tested by: Hans Ottevanger <fbsdhackers beasties demon nl> Reviewed by: alc MFC after: 3 weeks
Diffstat (limited to 'sys/nfsclient')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud