[ANNOUNCE] 5.10.56-rt49
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2021-08-16 15:31:31
Also in:
lkml
Subsystem:
printk, the rest · Maintainers:
Petr Mladek, John Ogness, Linus Torvalds
Dear RT Folks, I'm pleased to announce the 5.10.56-rt49 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v5.10-rt Head SHA1: f01b4758ad61a01d23ccaa96a65ce774cdcc09ae Or to build 5.10.56-rt49 directly, the following patches should be applied: http://www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.tar.xz http://www.kernel.org/pub/linux/kernel/v5.x/patch-5.10.56.xz http://www.kernel.org/pub/linux/kernel/projects/rt/5.10/patch-5.10.56-rt49.patch.xz You can also build from 5.10.56-rt48 by applying the incremental patch: http://www.kernel.org/pub/linux/kernel/projects/rt/5.10/incr/patch-5.10.56-rt48-rt49.patch.xz Enjoy, -- Steve Changes from v5.10.56-rt48: --- Chao Qin (1): printk: Enhance the condition check of msleep in pr_flush() Steven Rostedt (VMware) (1): Linux 5.10.56-rt49 ---- kernel/printk/printk.c | 4 +++- localversion-rt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index f56fd2e34cc7..53d90278494b 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c@@ -3545,7 +3545,9 @@ bool pr_flush(int timeout_ms, bool reset_on_progress) u64 diff; u64 seq; - may_sleep = (preemptible() && !in_softirq()); + may_sleep = (preemptible() && + !in_softirq() && + system_state >= SYSTEM_RUNNING); seq = prb_next_seq(prb);
diff --git a/localversion-rt b/localversion-rt
index 24707986c321..4b7dca68a5b4 100644
--- a/localversion-rt
+++ b/localversion-rt@@ -1 +1 @@ --rt48 +-rt49