aboutsummaryrefslogtreecommitdiff
path: root/share/examples/BSD_daemon
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-08-17 19:10:12 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-08-17 19:10:12 +0000
commit5567d6b4419b02a2099527228b1a51cc55a5b47d (patch)
tree0fb13e385876ab729318565b88b85e044e8e453a /share/examples/BSD_daemon
parente7d02be19d40063783d6b8f1ff2bc4c7170fd434 (diff)
downloadsrc-5567d6b4419b02a2099527228b1a51cc55a5b47d.tar.gz
src-5567d6b4419b02a2099527228b1a51cc55a5b47d.zip
arm64 pmap: Simplify logic around pv_chunk sizes.
- Define PC_FREEL and _NPCM in terms of _NPCPV rather than via magic numbers. - Remove assertions about _NPC* values from pmap.c. This is less relevant now that PC_FREEL and _NPCM are derived from _NPCPV. - Add a helper inline function pc_is_full() which uses a loop to check if pc_map is all zeroes. Use this to replace three places that check for a full mask assuming there are only 3 entries in pc_map. Reviewed by: markj Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D36217
Diffstat (limited to 'share/examples/BSD_daemon')
0 files changed, 0 insertions, 0 deletions