Page MenuHomeFreeBSD

Correct two errors in managing PGA_WRITEABLE
ClosedPublic

Authored by alc on Jul 21 2019, 3:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 30, 2:56 PM
Unknown Object (File)
Sun, Mar 29, 2:05 PM
Unknown Object (File)
Sat, Mar 28, 5:09 AM
Unknown Object (File)
Fri, Mar 27, 12:33 PM
Unknown Object (File)
Sun, Mar 22, 12:44 PM
Unknown Object (File)
Sun, Mar 22, 8:18 AM
Unknown Object (File)
Sun, Mar 22, 12:16 AM
Unknown Object (File)
Thu, Mar 19, 11:18 PM
Subscribers

Details

Summary

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. At present, we are are setting PGA_WRITEABLE based on whether the dirty bit is preset, not whether the mapping is writeable.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable