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)
Sun, Mar 31, 9:35 AM
Unknown Object (File)
Thu, Mar 28, 11:38 PM
Unknown Object (File)
Mar 7 2024, 4:10 PM
Unknown Object (File)
Jan 21 2024, 7:15 PM
Unknown Object (File)
Jan 15 2024, 11:10 AM
Unknown Object (File)
Dec 20 2023, 2:55 AM
Unknown Object (File)
Dec 18 2023, 3:19 PM
Unknown Object (File)
Dec 12 2023, 9:23 PM
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.