diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-19 09:20:18 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-19 09:33:12 -0400 |
commit | 549c7d116fe06cad3a39b38d187daf87ddd22ac7 (patch) | |
tree | 497d78b4d637a7827303a6e6e37aea56eb30a7cb /sys/kern/kern_tty.c | |
parent | ed31f8283ca62f550da28456bc190250d6495815 (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/kern/kern_tty.c')
0 files changed, 0 insertions, 0 deletions