Page MenuHomeFreeBSD

Micro-optimize pmap_remove_pages() on amd64 and arm64
ClosedPublic

Authored by alc on Jul 13 2021, 12:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 5:26 PM
Unknown Object (File)
Oct 24 2025, 3:58 AM
Unknown Object (File)
Oct 16 2025, 5:23 AM
Unknown Object (File)
Oct 16 2025, 5:23 AM
Unknown Object (File)
Oct 16 2025, 5:23 AM
Unknown Object (File)
Oct 15 2025, 6:13 PM
Unknown Object (File)
Sep 19 2025, 11:27 PM
Unknown Object (File)
Sep 3 2025, 6:46 AM
Subscribers

Details

Summary

Reduce the live ranges for three variables so that they do not span the call to PHYS_TO_VM_PAGE(). This enables the compiler to generate slightly smaller machine code. Specifically, the machine code is 64 and 68 bytes smaller on amd64 and arm64, respectively.

Diff Detail

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