Page MenuHomeFreeBSD

Correct two errors in managing PGA_WRITEABLE
ClosedPublic

Authored by alc on Jul 21 2019, 3:57 PM.
Tags
None
Referenced Files
F169497177: D21013.id.diff
Tue, Sep 1, 5:22 PM
F169483850: D21013.diff
Tue, Sep 1, 4:12 PM
Unknown Object (File)
Sun, Aug 30, 5:24 PM
Unknown Object (File)
Sun, Aug 30, 5:22 PM
Unknown Object (File)
Sun, Aug 30, 4:50 PM
Unknown Object (File)
Sun, Aug 30, 4:23 PM
Unknown Object (File)
Thu, Aug 27, 10:39 AM
Unknown Object (File)
Thu, Aug 27, 10:38 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