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)
Tue, Oct 14, 12:09 AM
Unknown Object (File)
Mon, Oct 13, 7:38 AM
Unknown Object (File)
Fri, Oct 3, 8:52 PM
Unknown Object (File)
Tue, Sep 30, 9:59 AM
Unknown Object (File)
Mon, Sep 29, 10:31 AM
Unknown Object (File)
Aug 3 2025, 5:57 PM
Unknown Object (File)
Jul 17 2025, 1:33 PM
Unknown Object (File)
Jul 17 2025, 12:35 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