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)
Thu, Aug 13, 2:22 PM
Unknown Object (File)
Thu, Aug 13, 2:21 PM
Unknown Object (File)
Thu, Aug 13, 2:21 PM
Unknown Object (File)
Mon, Aug 10, 1:24 PM
Unknown Object (File)
Sat, Aug 8, 7:51 AM
Unknown Object (File)
Thu, Aug 6, 4:00 PM
Unknown Object (File)
Jun 20 2026, 9:08 AM
Unknown Object (File)
May 21 2026, 12:56 AM
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