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)
Fri, Apr 17, 5:38 AM
Unknown Object (File)
Tue, Apr 14, 10:43 PM
Unknown Object (File)
Tue, Apr 14, 9:58 AM
Unknown Object (File)
Mon, Apr 13, 1:41 AM
Unknown Object (File)
Wed, Apr 8, 9:35 PM
Unknown Object (File)
Mon, Apr 6, 12:43 PM
Unknown Object (File)
Sat, Apr 4, 11:01 PM
Unknown Object (File)
Sat, Apr 4, 3:17 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