Page MenuHomeFreeBSD

Micro-optimize _pmap_unwire_ptp()
ClosedPublic

Authored by alc on Dec 20 2019, 9:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 11, 3:30 AM
Unknown Object (File)
Mon, May 11, 1:28 AM
Unknown Object (File)
Sun, May 10, 10:38 PM
Unknown Object (File)
Sat, May 9, 12:04 PM
Unknown Object (File)
Sat, May 9, 8:23 AM
Unknown Object (File)
Fri, May 8, 9:07 PM
Unknown Object (File)
Wed, Apr 15, 3:55 PM
Unknown Object (File)
Apr 7 2026, 8:16 AM
Subscribers

Details

Summary

Micro-optimize the control flow in _pmap_unwire_ptp(), and eliminate unnecessary parentheses. This reduces the object code size by 48 bytes. (The same micro-optimization already exists on arm64.)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable