mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched: remove task_struct->faults_disabled_mapping
@ 2026-01-22  8:52 Christoph Hellwig
  2026-01-22 10:15 ` [tip: sched/core] " tip-bot2 for Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2026-01-22  8:52 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, vincent.guittot
  Cc: dietmar.eggemann, rostedt, bsegall, mgorman, vschneid, linux-kernel

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>
---
 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 da0133524d08..c5907d639408 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: sched/core] sched: remove task_struct->faults_disabled_mapping
  2026-01-22  8:52 [PATCH] sched: remove task_struct->faults_disabled_mapping Christoph Hellwig
@ 2026-01-22 10:15 ` tip-bot2 for Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Christoph Hellwig @ 2026-01-22 10:15 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Christoph Hellwig, Peter Zijlstra (Intel), x86, linux-kernel

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 <hch@lst.de>
AuthorDate:    Thu, 22 Jan 2026 09:52:23 +01:00
Committer:     Peter Zijlstra <peterz@infradead.org>
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.

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
---
 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 bf96a7d..71654e3 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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;
diff --git a/init/init_task.c b/init/init_task.c
index 49b13d7..7d9094a 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,
 	},

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-22 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-22  8:52 [PATCH] sched: remove task_struct->faults_disabled_mapping Christoph Hellwig
2026-01-22 10:15 ` [tip: sched/core] " tip-bot2 for Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®