]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
sched: remove task_struct->faults_disabled_mapping
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Jan 2026 08:52:23 +0000 (09:52 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 22 Jan 2026 10:11:21 +0000 (11:11 +0100)
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
init/init_task.c

index bf96a7d595e226cc11e30a6413a6f6aa07cd8a53..71654e33bdbe0fdb97e46d929aa8c9cc6af9d27e 100644 (file)
@@ -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;
index 49b13d7c3985d4be1bafce6fc9fb476e85a27541..7d9094ae8eabb3a6259865f611698e6443400113 100644 (file)
@@ -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,
        },