summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0245-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches-rt/0245-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch (renamed from debian/patches-rt/0246-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch)8
1 files changed, 2 insertions, 6 deletions
diff --git a/debian/patches-rt/0246-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch b/debian/patches-rt/0245-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch
index 04dcb13d9..b33d8a7a0 100644
--- a/debian/patches-rt/0246-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch
+++ b/debian/patches-rt/0245-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch
@@ -1,9 +1,8 @@
-From cdff10ec863d6d0e7d18beb8cb66adc86674bb2b Mon Sep 17 00:00:00 2001
From: Mike Galbraith <umgwanakikbuti@gmail.com>
Date: Thu, 31 Mar 2016 04:08:28 +0200
-Subject: [PATCH 246/347] drivers/block/zram: Replace bit spinlocks with
+Subject: [PATCH 245/342] drivers/block/zram: Replace bit spinlocks with
rtmutex for -rt
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.246-rt110.tar.xz
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e9c40001860ea506bbb2d75c4f9a704fdce8b98c
They're nondeterministic, and lead to ___might_sleep() splats in -rt.
OTOH, they're a lot less wasteful than an rtmutex per page.
@@ -99,6 +98,3 @@ index d1095dfdffa8..144e91061df8 100644
#ifdef CONFIG_ZRAM_MEMORY_TRACKING
ktime_t ac_time;
#endif
---
-2.36.1
-