Skip to contentSkip to conversation

sched: remove task_struct->faults_disabled_mapping

PATCH Applied Christoph Hellwig 2 participants 2 messages Jan 22 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/linux/sched.h | 1 -
 init/init_task.c      | 1 -
 2 files changed, 2 deletions(-)
include/linux/sched.h +0 -1
index da0133524d08..c5907d639408 100644
@@ -960,7 +960,6 @@ struct task_struct {
 
 	struct mm_struct		*mm;
 	struct mm_struct		*active_mm;
-	struct address_space		*faults_disabled_mapping;
 
 	int				exit_state;
 	int				exit_code;
init/init_task.c +0 -1
index 49b13d7c3985..7d9094ae8eab 100644
@@ -113,7 +113,6 @@ struct task_struct init_task __aligned(L1_CACHE_BYTES) = {
 	.nr_cpus_allowed= NR_CPUS,
 	.mm		= NULL,
 	.active_mm	= &init_mm,
-	.faults_disabled_mapping = NULL,
 	.restart_block	= {
 		.fn = do_no_restart_syscall,
 	},
Signature · 1 line
2.47.3
#1 lore raw
The following commit has been merged into the sched/core branch of tip:

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     377521af0341083bc9d196cf021ec7265dc47c20
Gitweb:        https://git.kernel.org/tip/377521af0341083bc9d196cf021ec7265dc47c20
Author:        Christoph Hellwig <[email protected]>
AuthorDate:    Thu, 22 Jan 2026 09:52:23 +01:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Thu, 22 Jan 2026 11:11:21 +01:00

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.

---
 include/linux/sched.h | 1 -
 init/init_task.c      | 1 -
 2 files changed, 2 deletions(-)
include/linux/sched.h +0 -1
index bf96a7d..71654e3 100644
@@ -955,7 +955,6 @@ struct task_struct {
 
 	struct mm_struct		*mm;
 	struct mm_struct		*active_mm;
-	struct address_space		*faults_disabled_mapping;
 
 	int				exit_state;
 	int				exit_code;
init/init_task.c +0 -1
index 49b13d7..7d9094a 100644
@@ -113,7 +113,6 @@ struct task_struct init_task __aligned(L1_CACHE_BYTES) = {
 	.nr_cpus_allowed= NR_CPUS,
 	.mm		= NULL,
 	.active_mm	= &init_mm,
-	.faults_disabled_mapping = NULL,
 	.restart_block	= {
 		.fn = do_no_restart_syscall,
 	},