[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251125111723.1139716-1-hch@lst.de>
Date: Tue, 25 Nov 2025 12:17:23 +0100
From: Christoph Hellwig <hch@....de>
To: mingo@...hat.com,
peterz@...radead.org,
juri.lelli@...hat.com,
vincent.guittot@...aro.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] sched: remove task_struct->faults_disabled_mapping again
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 unused again and should go away.
Signed-off-by: Christoph Hellwig <hch@....de>
---
include/linux/sched.h | 1 -
init/init_task.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 29d4522cb0b7..0016f91b50bb 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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;
diff --git a/init/init_task.c b/init/init_task.c
index 49b13d7c3985..7d9094ae8eab 100644
--- a/init/init_task.c
+++ b/init/init_task.c
@@ -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,
},
--
2.47.3
Powered by blists - more mailing lists