diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2019-12-18 18:06:31 +0100 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2019-12-18 22:50:21 +0100 |
commit | 102987a83771aa994821d4d982d06faa64c789e4 (patch) | |
tree | 3e5ab5206886ec297a1a97ce80f504d75468ed2f /debian/patches-rt/x86-ldt-Initialize-the-context-lock-for-init_mm.patch | |
parent | 479cb120ecb2b3f2c4d929a7b57860248d6f79bd (diff) | |
download | linux-debian-102987a83771aa994821d4d982d06faa64c789e4.tar.gz |
[rt] Update to 5.4.3-rt1 and re-enable
Adjust for context changes due to backport of
e66b39af00f4 ("workqueue: Fix pwq ref leak in rescuer_thread()") and
def98c84b6cd ("workqueue: Fix spurious sanity check failures in
destroy_workqueue()") in 5.4.4.
Diffstat (limited to 'debian/patches-rt/x86-ldt-Initialize-the-context-lock-for-init_mm.patch')
-rw-r--r-- | debian/patches-rt/x86-ldt-Initialize-the-context-lock-for-init_mm.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/debian/patches-rt/x86-ldt-Initialize-the-context-lock-for-init_mm.patch b/debian/patches-rt/x86-ldt-Initialize-the-context-lock-for-init_mm.patch deleted file mode 100644 index 9aa9603a6..000000000 --- a/debian/patches-rt/x86-ldt-Initialize-the-context-lock-for-init_mm.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> -Date: Mon, 1 Jul 2019 17:53:13 +0200 -Subject: [PATCH] x86/ldt: Initialize the context lock for init_mm -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz - -The mutex mm->context->lock for init_mm is not initialized for init_mm. -This wasn't a problem because it remained unused. This changed however -since commit - 4fc19708b165c ("x86/alternatives: Initialize temporary mm for patching") - -Initialize the mutex for init_mm. - -Fixes: 4fc19708b165c ("x86/alternatives: Initialize temporary mm for patching") -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - arch/x86/include/asm/mmu.h | 1 + - 1 file changed, 1 insertion(+) - ---- a/arch/x86/include/asm/mmu.h -+++ b/arch/x86/include/asm/mmu.h -@@ -59,6 +59,7 @@ typedef struct { - #define INIT_MM_CONTEXT(mm) \ - .context = { \ - .ctx_id = 1, \ -+ .lock = __MUTEX_INITIALIZER(mm.context.lock), \ - } - - void leave_mm(int cpu); |