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, May 21, 12:56 AM
Unknown Object (File)
Mon, May 11, 1:43 AM
Unknown Object (File)
Mon, May 11, 1:34 AM
Unknown Object (File)
Sun, May 10, 10:33 AM
Unknown Object (File)
Apr 17 2026, 5:38 AM
Unknown Object (File)
Apr 14 2026, 10:43 PM
Unknown Object (File)
Apr 14 2026, 9:58 AM
Unknown Object (File)
Apr 13 2026, 1:41 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