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)
Nov 16 2024, 7:04 PM
Unknown Object (File)
Oct 31 2024, 6:28 PM
Unknown Object (File)
Oct 6 2024, 2:01 AM
Unknown Object (File)
Oct 5 2024, 5:58 PM
Unknown Object (File)
Oct 4 2024, 6:46 PM
Unknown Object (File)
Oct 3 2024, 12:06 AM
Unknown Object (File)
Oct 1 2024, 10:13 AM
Unknown Object (File)
Sep 30 2024, 1:09 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