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)
Jan 19 2024, 1:43 PM
Unknown Object (File)
Dec 20 2023, 2:22 AM
Unknown Object (File)
Nov 7 2023, 7:03 PM
Unknown Object (File)
Oct 6 2023, 5:55 PM
Unknown Object (File)
Sep 16 2023, 12:33 PM
Unknown Object (File)
Sep 11 2023, 10:09 PM
Unknown Object (File)
Jun 26 2023, 4:56 PM
Unknown Object (File)
Jun 26 2023, 4:54 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