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, Jan 6, 4:34 PM
Unknown Object (File)
Dec 14 2024, 1:54 PM
Unknown Object (File)
Sep 27 2024, 7:30 AM
Unknown Object (File)
Sep 20 2024, 10:26 PM
Unknown Object (File)
Sep 18 2024, 8:57 AM
Unknown Object (File)
Sep 17 2024, 8:34 AM
Unknown Object (File)
Sep 5 2024, 8:29 AM
Unknown Object (File)
Sep 1 2024, 7:45 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

Lint
Lint Skipped
Unit
Tests Skipped