[ANNOUNCE] v6.5.2-rt8

From: Sebastian Andrzej Siewior
Date: Fri Sep 08 2023 - 11:45:58 EST


Dear RT folks!

I'm pleased to announce the v6.5.2-rt8 patch set.

Changes since v6.5.2-rt7:

- The locking patches for flushed queued I/O had a possible dead lock
with write_lock(). Reported by Sultan Alsawaf.

Known issues
None

The delta patch against v6.5.2-rt7 is appended below and can be found here:

https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.5/incr/patch-6.5.2-rt7-rt8.patch.xz

You can get this release via the git tree at:

https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v6.5.2-rt8

The RT patch against v6.5.2 can be found here:

https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.5/older/patch-6.5.2-rt8.patch.xz

The split quilt queue is available at:

https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.5/older/patches-6.5.2-rt8.tar.xz

Sebastian

diff --git a/kernel/locking/rwbase_rt.c b/kernel/locking/rwbase_rt.c
index b5e881250fec5..34a59569db6be 100644
--- a/kernel/locking/rwbase_rt.c
+++ b/kernel/locking/rwbase_rt.c
@@ -241,7 +241,7 @@ static int __sched rwbase_write_lock(struct rwbase_rt *rwb,
/* Force readers into slow path */
atomic_sub(READER_BIAS, &rwb->readers);

- rt_mutex_pre_schedule();
+ rwbase_pre_schedule();

raw_spin_lock_irqsave(&rtm->wait_lock, flags);
if (__rwbase_write_trylock(rwb))
@@ -254,7 +254,7 @@ static int __sched rwbase_write_lock(struct rwbase_rt *rwb,
if (rwbase_signal_pending_state(state, current)) {
rwbase_restore_current_state();
__rwbase_write_unlock(rwb, 0, flags);
- rt_mutex_post_schedule();
+ rwbase_post_schedule();
trace_contention_end(rwb, -EINTR);
return -EINTR;
}
@@ -273,7 +273,7 @@ static int __sched rwbase_write_lock(struct rwbase_rt *rwb,

out_unlock:
raw_spin_unlock_irqrestore(&rtm->wait_lock, flags);
- rt_mutex_post_schedule();
+ rwbase_post_schedule();
return 0;
}

diff --git a/localversion-rt b/localversion-rt
index 045478966e9f1..700c857efd9ba 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt7
+-rt8