Page MenuHomeFreeBSD

Clear PGA_WRITEABLE in moea_remove_pvo().
ClosedPublic

Authored by markj on Oct 15 2019, 10:08 PM.
Tags
None
Referenced Files
F163268517: D22044.id63325.diff
Tue, Jul 21, 2:50 PM
Unknown Object (File)
Thu, Jul 2, 10:44 PM
Unknown Object (File)
Jun 15 2026, 11:39 AM
Unknown Object (File)
May 13 2026, 3:58 AM
Unknown Object (File)
May 6 2026, 6:01 PM
Unknown Object (File)
May 3 2026, 11:38 PM
Unknown Object (File)
May 3 2026, 12:22 PM
Unknown Object (File)
May 3 2026, 10:05 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

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