aboutsummaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/trap.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-19 09:20:18 -0400
committerIan Moffett <ian@osmora.org>2024-05-19 09:33:12 -0400
commit549c7d116fe06cad3a39b38d187daf87ddd22ac7 (patch)
tree497d78b4d637a7827303a6e6e37aea56eb30a7cb /sys/include/arch/amd64/trap.h
parented31f8283ca62f550da28456bc190250d6495815 (diff)
kernel: sched: Align 'tdq_lock' on cache line size
The lock should be aligned on a cache line boundary so it isn't in a cache line with other data. This is important for 'tdq_lock' as it is used by every processor which constantly acquires and releases it. This alignment can reduce how violently cache lines bounce between processor local caches. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch/amd64/trap.h')
0 files changed, 0 insertions, 0 deletions