diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-07 21:25:10 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-07 21:25:10 -0400 |
commit | f8ce8234aa7247c8f3a4317f5671b5fd40ffb8c8 (patch) | |
tree | 4eb0667b44f557ea9c5449d932c19fc1db19889e /sys/include/vm/tlsf.h | |
parent | 19e1b54d12edbe80419b7fde9c602833544eb7ab (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/include/vm/tlsf.h')
0 files changed, 0 insertions, 0 deletions