Page MenuHomeFreeBSD

Clear PGA_WRITEABLE in moea_remove_pvo().
ClosedPublic

Authored by markj on Oct 15 2019, 10:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 4:19 AM
Unknown Object (File)
Sun, Apr 26, 6:02 PM
Unknown Object (File)
Mon, Apr 20, 6:07 PM
Unknown Object (File)
Fri, Apr 17, 9:19 AM
Unknown Object (File)
Fri, Apr 10, 3:31 AM
Unknown Object (File)
Thu, Apr 9, 7:23 PM
Unknown Object (File)
Mar 25 2026, 10:13 PM
Unknown Object (File)
Mar 24 2026, 5:43 PM

Details

Summary

The MOEA pmap clears PGA_WRITEABLE in pmap_remove_{all,write}(), but
fails to do so when a single mapping is removed via pmap_remove().
Correct this.

I couldn't find any other places that were missing this: this pmap does
not implement pmap_remove_pages(), and when a CoW fault removes the last
mapping of a page, its PV entry is removed using moea_remove_pvo().

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable