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, Oct 1, 1:52 PM
Unknown Object (File)
Tue, Sep 24, 11:26 PM
Unknown Object (File)
Tue, Sep 24, 2:40 PM
Unknown Object (File)
Sat, Sep 21, 1:30 AM
Unknown Object (File)
Fri, Sep 20, 6:44 AM
Unknown Object (File)
Thu, Sep 19, 9:15 PM
Unknown Object (File)
Mon, Sep 16, 1:00 AM
Unknown Object (File)
Wed, Sep 11, 1:36 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