Page MenuHomeFreeBSD

Clear PGA_WRITEABLE in moea_remove_pvo().
ClosedPublic

Authored by markj on Oct 15 2019, 10:08 PM.
Tags
None
Referenced Files
F148005425: D22044.diff
Sun, Mar 15, 3:44 AM
Unknown Object (File)
Wed, Mar 11, 9:11 AM
Unknown Object (File)
Sun, Mar 1, 9:28 AM
Unknown Object (File)
Feb 8 2026, 12:25 PM
Unknown Object (File)
Feb 8 2026, 1:34 AM
Unknown Object (File)
Jan 31 2026, 3:42 AM
Unknown Object (File)
Jan 9 2026, 11:57 AM
Unknown Object (File)
Jan 9 2026, 1:56 AM

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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27053
Build 25338: arc lint + arc unit