HomeFreeBSD

With the introduction of software dirty bit emulation for managed mappings,

Description

With the introduction of software dirty bit emulation for managed mappings,
we should test ATTR_SW_DBM, not ATTR_AP_RW, to determine whether to set
PGA_WRITEABLE. In effect, we are currently setting PGA_WRITEABLE based on
whether the dirty bit is preset, not whether the mapping is writeable.
Correct this mistake.

Reviewed by: markj
X-MFC with: r350004
Differential Revision: https://reviews.freebsd.org/D21013

Details

Provenance
alcAuthored on Jul 21 2019, 5:00 PM
Parents
rG89e9665b8da3: Link fileargs_lstat.3.
Branches
Unknown
Tags
Unknown

Event Timeline