summaryrefslogtreecommitdiff
path: root/sys/vm/vm_dynalloc.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-07 21:25:10 -0400
committerIan Moffett <ian@osmora.org>2024-06-07 21:25:10 -0400
commitf8ce8234aa7247c8f3a4317f5671b5fd40ffb8c8 (patch)
tree4eb0667b44f557ea9c5449d932c19fc1db19889e /sys/vm/vm_dynalloc.c
parent19e1b54d12edbe80419b7fde9c602833544eb7ab (diff)
kernel: Add __cacheline_aligned macro
This commit introduces a "__cacheline_aligned" macro which aligns data by the cache line size (COHERENCY_UNIT bytes). This is useful for heavily contended locks. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/vm/vm_dynalloc.c')
0 files changed, 0 insertions, 0 deletions