summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/sched-might-sleep-do-not-account-rcu-depth.patch
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@opensource.viveris.fr>2019-01-11 15:52:15 +0100
committerRomain Perier <romain.perier@opensource.viveris.fr>2019-01-11 17:44:15 +0100
commitfe5142170f582165349d8b4e1b4efa83b628b25e (patch)
treed6a7e3f96fe695ccf637407f04cd23028260470c /debian/patches-rt/sched-might-sleep-do-not-account-rcu-depth.patch
parentd31776d28df358119e1c1caec843cc2e6ca1bd8a (diff)
downloadlinux-debian-fe5142170f582165349d8b4e1b4efa83b628b25e.tar.gz
[rt] Update to 4.19.13-rt10
Diffstat (limited to 'debian/patches-rt/sched-might-sleep-do-not-account-rcu-depth.patch')
-rw-r--r--debian/patches-rt/sched-might-sleep-do-not-account-rcu-depth.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches-rt/sched-might-sleep-do-not-account-rcu-depth.patch b/debian/patches-rt/sched-might-sleep-do-not-account-rcu-depth.patch
index 7e4e29619..fb5a4ae02 100644
--- a/debian/patches-rt/sched-might-sleep-do-not-account-rcu-depth.patch
+++ b/debian/patches-rt/sched-might-sleep-do-not-account-rcu-depth.patch
@@ -1,7 +1,7 @@
Subject: sched: Do not account rcu_preempt_depth on RT in might_sleep()
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 07 Jun 2011 09:19:06 +0200
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.10-rt8.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.13-rt10.tar.xz
RT changes the rcu_preempt_depth semantics, so we cannot check for it
in might_sleep().
@@ -37,7 +37,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
/* Internal to kernel */
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
-@@ -6155,7 +6155,7 @@ void __init sched_init(void)
+@@ -6154,7 +6154,7 @@ void __init sched_init(void)
#ifdef CONFIG_DEBUG_ATOMIC_SLEEP
static inline int preempt_count_equals(int preempt_offset)
{