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)
Sat, Feb 22, 4:21 AM
Unknown Object (File)
Thu, Feb 13, 2:58 PM
Unknown Object (File)
Wed, Feb 12, 3:59 AM
Unknown Object (File)
Jan 2 2025, 2:21 AM
Unknown Object (File)
Dec 23 2024, 10:59 AM
Unknown Object (File)
Dec 11 2024, 8:58 PM
Unknown Object (File)
Dec 5 2024, 2:05 AM
Unknown Object (File)
Oct 14 2024, 5:38 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