summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0238-x86-Support-for-lazy-preemption.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 04:15:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 04:15:14 +0000
commite549f10391e1fc78dab80e9b9ef524d214d4af40 (patch)
tree5358015c2d151febc170684ed8ddf2011b3ac4af /debian/patches-rt/0238-x86-Support-for-lazy-preemption.patch
parentMerging upstream version 4.19.282. (diff)
downloadlinux-e549f10391e1fc78dab80e9b9ef524d214d4af40.tar.xz
linux-e549f10391e1fc78dab80e9b9ef524d214d4af40.zip
Adding debian version 4.19.282-1.debian/4.19.282-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt/0238-x86-Support-for-lazy-preemption.patch')
-rw-r--r--debian/patches-rt/0238-x86-Support-for-lazy-preemption.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches-rt/0238-x86-Support-for-lazy-preemption.patch b/debian/patches-rt/0238-x86-Support-for-lazy-preemption.patch
index 5ff97f123..e0bb4ffc4 100644
--- a/debian/patches-rt/0238-x86-Support-for-lazy-preemption.patch
+++ b/debian/patches-rt/0238-x86-Support-for-lazy-preemption.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 1 Nov 2012 11:03:47 +0100
-Subject: [PATCH 238/351] x86: Support for lazy preemption
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4baee5bc17c6cc95083544e897256d6438135bc9
+Subject: [PATCH 238/353] x86: Support for lazy preemption
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=794d205d0465bfd44c2712b59b1ac12088bc04ba
Implement the x86 pieces for lazy preempt.
@@ -51,10 +51,10 @@ index 91676b0d2d4c..3b5e41d9b29d 100644
#ifdef ARCH_RT_DELAYS_SIGNAL_SEND
diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S
-index 37d9016d4768..324b7539eaab 100644
+index e6c258bf9511..e52feb8f557c 100644
--- a/arch/x86/entry/entry_32.S
+++ b/arch/x86/entry/entry_32.S
-@@ -750,8 +750,25 @@ END(ret_from_exception)
+@@ -748,8 +748,25 @@ END(ret_from_exception)
ENTRY(resume_kernel)
DISABLE_INTERRUPTS(CLBR_ANY)
.Lneed_resched:
@@ -81,10 +81,10 @@ index 37d9016d4768..324b7539eaab 100644
jz restore_all_kernel
call preempt_schedule_irq
diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S
-index f53d995b1370..94fccaa04bfa 100644
+index 891b7b2f5d3b..42d389310f2a 100644
--- a/arch/x86/entry/entry_64.S
+++ b/arch/x86/entry/entry_64.S
-@@ -733,7 +733,23 @@ GLOBAL(swapgs_restore_regs_and_return_to_usermode)
+@@ -736,7 +736,23 @@ GLOBAL(swapgs_restore_regs_and_return_to_usermode)
btl $9, EFLAGS(%rsp) /* were interrupts off? */
jnc 1f
0: cmpl $0, PER_CPU_VAR(__preempt_count)