diff options
author | kib <kib@FreeBSD.org> | 2014-10-10 19:27:36 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-10-10 19:27:36 +0000 |
commit | 2b6232c7be171d19228e79a5f2e3f76f15342612 (patch) | |
tree | 5a7910a494612dffb9bf27b2ba1954272aab5e5f /contrib/netbsd-tests/lib/libc/stdio/t_fflush.c | |
parent | 23f601a6ca01e7c80579cb2278a1d7b3e6e8d71a (diff) | |
download | FreeBSD-src-2b6232c7be171d19228e79a5f2e3f76f15342612.zip FreeBSD-src-2b6232c7be171d19228e79a5f2e3f76f15342612.tar.gz |
Make MAP_NOSYNC handling in the vm_fault() read-locked object path
compatible with write-locked path. Test for MAP_ENTRY_NOSYNC and set
VPO_NOSYNC for pages with dirty mask zero (this does not exclude a
possibility that the page is dirty, e.g. due to read fault on
writeable mapping and consequent write; the same issue exists in the
slow path).
Use helper vm_fault_dirty() to unify fast and slow path handling of
VPO_NOSYNC and setting the dirty mask.
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdio/t_fflush.c')
0 files changed, 0 insertions, 0 deletions