]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/mmcid: Use proper data structures
authorThomas Gleixner <tglx@linutronix.de>
Wed, 19 Nov 2025 17:26:47 +0000 (18:26 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 20 Nov 2025 11:14:52 +0000 (12:14 +0100)
commit8cea569ca785060b8c5cc7800713ddc3b1548a94
treeea8ae59120864ce14db53e93e87473230fc5eeb0
parent77d7dc8bef482e987036bc204136bbda552d95cd
sched/mmcid: Use proper data structures

Having a lot of CID functionality specific members in struct task_struct
and struct mm_struct is not really making the code easier to read.

Encapsulate the CID specific parts in data structures and keep them
separate from the stuff they are embedded in.

No functional change.

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.131573768@linutronix.de
include/linux/mm_types.h
include/linux/rseq_types.h
include/linux/sched.h
init/init_task.c
kernel/fork.c
kernel/sched/core.c
kernel/sched/sched.h