Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sched: remove task_struct->faults_disabled_mapping

This reverts commit 2b69987be575 ("sched: Add
task_struct->faults_disabled_mapping"), which added this field without
review or maintainer signoff. With bcachefs removed from the
tree it is also unused now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260122085223.487092-1-hch@lst.de

authored by

Christoph Hellwig and committed by
Peter Zijlstra
377521af 4b603f15

-2
-1
include/linux/sched.h
··· 955 955 956 956 struct mm_struct *mm; 957 957 struct mm_struct *active_mm; 958 - struct address_space *faults_disabled_mapping; 959 958 960 959 int exit_state; 961 960 int exit_code;
-1
init/init_task.c
··· 113 113 .nr_cpus_allowed= NR_CPUS, 114 114 .mm = NULL, 115 115 .active_mm = &init_mm, 116 - .faults_disabled_mapping = NULL, 117 116 .restart_block = { 118 117 .fn = do_no_restart_syscall, 119 118 },