diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 4da09d63010..39fe0ce1235 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -135,7 +135,7 @@ static int thread_unsuspend_one(struct thread *td, struct proc *p, bool boundary); static void thread_free_batched(struct thread *td); -static struct mtx tid_lock; +static __exclusive_cache_line struct mtx tid_lock; static bitstr_t *tid_bitmap; static MALLOC_DEFINE(M_TIDHASH, "tidhash", "thread hash");