Skip to content

Commit 377521a

Browse files
Christoph HellwigPeter Zijlstra
authored andcommitted
sched: remove task_struct->faults_disabled_mapping
This reverts commit 2b69987 ("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
1 parent 4b603f1 commit 377521a

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

include/linux/sched.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,6 @@ struct task_struct {
955955

956956
struct mm_struct *mm;
957957
struct mm_struct *active_mm;
958-
struct address_space *faults_disabled_mapping;
959958

960959
int exit_state;
961960
int exit_code;

init/init_task.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ struct task_struct init_task __aligned(L1_CACHE_BYTES) = {
113113
.nr_cpus_allowed= NR_CPUS,
114114
.mm = NULL,
115115
.active_mm = &init_mm,
116-
.faults_disabled_mapping = NULL,
117116
.restart_block = {
118117
.fn = do_no_restart_syscall,
119118
},

0 commit comments

Comments
 (0)