Page MenuHomeFreeBSD

Don't panic in vm_radix_remove(); instead return a value
ClosedPublic

Authored by alc on Dec 4 2016, 6:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 2 2024, 10:11 AM
Unknown Object (File)
Nov 29 2024, 8:01 AM
Unknown Object (File)
Nov 25 2024, 12:36 PM
Unknown Object (File)
Nov 24 2024, 9:49 AM
Unknown Object (File)
Nov 22 2024, 7:13 AM
Unknown Object (File)
Nov 21 2024, 3:42 AM
Unknown Object (File)
Nov 8 2024, 5:27 AM
Unknown Object (File)
Nov 6 2024, 10:26 AM
Subscribers

Details

Summary

Change vm_radix_remove() to return a value, specifically, a vm_page_t or NULL, rather than panic()ing when the specified index isn't found in the trie. This change simplifies the pmap's use of tries for page table pages, specifically, we no longer have to do a lookup before every remove.

Diff Detail

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

Event Timeline

alc retitled this revision from to Don't panic in vm_radix_remove(); instead return a value.
alc updated this object.
alc edited the test plan for this revision. (Show Details)
alc added reviewers: kib, markj, andrew.
kib edited edge metadata.
This revision is now accepted and ready to land.Dec 4 2016, 2:01 PM
markj edited edge metadata.
This revision was automatically updated to reflect the committed changes.