summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0215-sched-Move-mmdrop-to-RCU-on-RT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/0215-sched-Move-mmdrop-to-RCU-on-RT.patch')
-rw-r--r--debian/patches-rt/0215-sched-Move-mmdrop-to-RCU-on-RT.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/debian/patches-rt/0215-sched-Move-mmdrop-to-RCU-on-RT.patch b/debian/patches-rt/0215-sched-Move-mmdrop-to-RCU-on-RT.patch
index caf0a9bc6..72fc6b13a 100644
--- a/debian/patches-rt/0215-sched-Move-mmdrop-to-RCU-on-RT.patch
+++ b/debian/patches-rt/0215-sched-Move-mmdrop-to-RCU-on-RT.patch
@@ -1,8 +1,8 @@
-From e29feec1bad5cc39575600e68d6f5523b17c189a Mon Sep 17 00:00:00 2001
+From 7b41ff050923c688cd98eddadde916cf06dd3d8d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 6 Jun 2011 12:20:33 +0200
Subject: [PATCH 215/323] sched: Move mmdrop to RCU on RT
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz
Takes sleeping locks and calls into the memory allocator, so nothing
we want to do in task switch and oder atomic contexts.
@@ -16,7 +16,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
4 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
-index 4eb38918da8f..2a83d965b00e 100644
+index 4eb38918da8f8..2a83d965b00e1 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -12,6 +12,7 @@
@@ -38,7 +38,7 @@ index 4eb38918da8f..2a83d965b00e 100644
atomic_long_t hugetlb_usage;
#endif
diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h
-index e3e5e149b00e..6d39ad0f55bb 100644
+index e3e5e149b00e6..6d39ad0f55bb9 100644
--- a/include/linux/sched/mm.h
+++ b/include/linux/sched/mm.h
@@ -49,6 +49,17 @@ static inline void mmdrop(struct mm_struct *mm)
@@ -60,7 +60,7 @@ index e3e5e149b00e..6d39ad0f55bb 100644
* mmget() - Pin the address space associated with a &struct mm_struct.
* @mm: The address space to pin.
diff --git a/kernel/fork.c b/kernel/fork.c
-index 32b9d7205ac1..078058436f2f 100644
+index 32b9d7205ac1b..078058436f2f9 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -691,6 +691,19 @@ void __mmdrop(struct mm_struct *mm)
@@ -84,7 +84,7 @@ index 32b9d7205ac1..078058436f2f 100644
{
struct mm_struct *mm;
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
-index 3d7e9ecbd376..5e5d28f5d970 100644
+index 3d7e9ecbd3760..5e5d28f5d9706 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -4269,9 +4269,13 @@ static struct rq *finish_task_switch(struct task_struct *prev)
@@ -111,5 +111,5 @@ index 3d7e9ecbd376..5e5d28f5d970 100644
* Ensure that the idle task is using init_mm right before its CPU goes
* offline.
--
-2.43.0
+2.44.0