diff options
author | Romain Perier <romain.perier@opensource.viveris.fr> | 2019-01-11 15:52:15 +0100 |
---|---|---|
committer | Romain Perier <romain.perier@opensource.viveris.fr> | 2019-01-11 17:44:15 +0100 |
commit | fe5142170f582165349d8b4e1b4efa83b628b25e (patch) | |
tree | d6a7e3f96fe695ccf637407f04cd23028260470c /debian/patches-rt/timers-prepare-for-full-preemption.patch | |
parent | d31776d28df358119e1c1caec843cc2e6ca1bd8a (diff) | |
download | linux-debian-fe5142170f582165349d8b4e1b4efa83b628b25e.tar.gz |
[rt] Update to 4.19.13-rt10
Diffstat (limited to 'debian/patches-rt/timers-prepare-for-full-preemption.patch')
-rw-r--r-- | debian/patches-rt/timers-prepare-for-full-preemption.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches-rt/timers-prepare-for-full-preemption.patch b/debian/patches-rt/timers-prepare-for-full-preemption.patch index 7d96bc16e..7a1bf2781 100644 --- a/debian/patches-rt/timers-prepare-for-full-preemption.patch +++ b/debian/patches-rt/timers-prepare-for-full-preemption.patch @@ -1,7 +1,7 @@ From: Ingo Molnar <mingo@elte.hu> Date: Fri, 3 Jul 2009 08:29:34 -0500 Subject: timers: Prepare for full preemption -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 When softirqs can be preempted we need to make sure that cancelling the timer from the active thread can not deadlock vs. a running timer @@ -29,7 +29,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de> # define del_timer_sync(t) del_timer(t) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -497,11 +497,14 @@ void resched_cpu(int cpu) +@@ -496,11 +496,14 @@ void resched_cpu(int cpu) */ int get_nohz_timer_target(void) { @@ -46,7 +46,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de> rcu_read_lock(); for_each_domain(cpu, sd) { -@@ -520,6 +523,8 @@ int get_nohz_timer_target(void) +@@ -519,6 +522,8 @@ int get_nohz_timer_target(void) cpu = housekeeping_any_cpu(HK_FLAG_TIMER); unlock: rcu_read_unlock(); |