Home
last modified time | relevance | path

Searched hist:a36f55322c71692896ccd8891ff852fc0dd87697 (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/vm/
H A Dvm_fault.cdiff a36f55322c71692896ccd8891ff852fc0dd87697 Fri Oct 10 21:27:36 CEST 2014 Konstantin Belousov <kib@FreeBSD.org> 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