]> Gentwo Git Trees - linux/.git/commit
sched/mmcid: Cacheline align MM CID storage
authorThomas Gleixner <tglx@linutronix.de>
Wed, 19 Nov 2025 17:26:49 +0000 (18:26 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 20 Nov 2025 11:14:53 +0000 (12:14 +0100)
commitbe4463fa2c7185823d2989562162d578b45a89ae
treef0955daf833532d10d689eb1b3c092e8d3bd5462
parent8cea569ca785060b8c5cc7800713ddc3b1548a94
sched/mmcid: Cacheline align MM CID storage

Both the per CPU storage and the data in mm_struct are heavily used in
context switch. As they can end up next to other frequently modified data,
they are subject to false sharing.

Make them cache line aligned.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20251119172549.194111661@linutronix.de
include/linux/rseq_types.h