Page MenuHomeFreeBSD

riscv: Rename pmap_fault_fixup() to pmap_fault()
ClosedPublic

Authored by markj on Jun 4 2021, 6:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 6:38 AM
Unknown Object (File)
Tue, Nov 5, 10:10 AM
Unknown Object (File)
Oct 14 2024, 5:33 PM
Unknown Object (File)
Oct 5 2024, 4:35 PM
Unknown Object (File)
Oct 5 2024, 11:38 AM
Unknown Object (File)
Oct 2 2024, 9:38 PM
Unknown Object (File)
Oct 2 2024, 7:13 PM
Unknown Object (File)
Oct 2 2024, 4:33 AM
Subscribers

Details

Summary

This is consistent with other platforms, specifically arm and arm64,
which use it to implement software management of accessed and dirty
bits.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I guess it got copied from arm's pmap-v4 (you can still find references that function for it in the tree)?

This revision is now accepted and ready to land.Jun 4 2021, 6:53 PM

I guess it got copied from arm's pmap-v4 (you can still find references that function for it in the tree)?

Ah, I see. Looks like last_fault_code can be removed then.

Regarding the overall change, I don't have a strong preference for it, it would just be nice to be consistent especially now that pmap-v4.c is gone.

I guess it got copied from arm's pmap-v4 (you can still find references that function for it in the tree)?

Ah, I see. Looks like last_fault_code can be removed then.

Regarding the overall change, I don't have a strong preference for it, it would just be nice to be consistent especially now that pmap-v4.c is gone.

Yeah, seems sensible. I quite liked the "fixup" in the name, but best to align with pmap-v6 and arm64.