diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-08-17 19:10:35 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-08-17 19:10:35 +0000 |
commit | 3499df29c2a1bbd6755f4ebe4b4a0083fda7a666 (patch) | |
tree | 9ef344dc0f969dfaebc8c6677171f25f05cdfcf7 /share/examples | |
parent | 5567d6b4419b02a2099527228b1a51cc55a5b47d (diff) | |
download | src-3499df29c2a1bbd6755f4ebe4b4a0083fda7a666.tar.gz src-3499df29c2a1bbd6755f4ebe4b4a0083fda7a666.zip |
arm64 pmap: Convert PC_IS_FREE into an inline function.
This permits inlining the comparisons even in the 16K page case.
Note that since PC_FREEN is -1, values can be compared efficiently
without having to fetch words of pc_freemask from memory via the
'cmn <reg>, #0x1' instruction.
Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D36218
Diffstat (limited to 'share/examples')
0 files changed, 0 insertions, 0 deletions