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)
Feb 21 2024, 5:50 AM
Unknown Object (File)
Dec 20 2023, 4:54 AM
Unknown Object (File)
Dec 12 2023, 1:24 PM
Unknown Object (File)
Dec 11 2023, 7:08 PM
Unknown Object (File)
Dec 6 2023, 2:16 AM
Unknown Object (File)
Nov 11 2023, 5:39 AM
Unknown Object (File)
Nov 9 2023, 6:01 AM
Unknown Object (File)
Nov 6 2023, 4:45 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