diff mbox series

[ANNOUNCE] 5.10.56-rt49

Message ID 20210816113123.36817ecd@oasis.local.home
State New
Headers show
Series [ANNOUNCE] 5.10.56-rt49 | expand

Commit Message

Steven Rostedt Aug. 16, 2021, 3:31 p.m. UTC
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 mbox series

Patch

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