Skip to contentSkip to conversation

3.2.9-rt15

ANNOUNCE Thomas Gleixner 3 participants 4 messages Mar 2, 2012 – Mar 6, 2012 CPU hotplug

lore
Share & tools
lore
#0 lore raw

Dear RT Folks,

I'm pleased to announce the 3.2.9-rt15 release. There have been a few not announced intermediate releases which are mostly updates to the stable tree.

Changes vs. 3.2.9-rt14:

* seqlock/seqcount live lock fixes

This is a rather massive change, which fixes live locks in the fs code and elsewhere.

* acpi raw spinlock annotations reverted

The raw spinlock conversions cause trouble in the ACPI interrupt handler code and we have no idea why we did that conversion in the first place :(

So with this revert we hopefully get reports for the initial problem so we can look at that for a less problematic fix.

* Hotplug fixes [Steven Rostedt]

This is most of the series Steven posted yesterday. I left out the hotplug core changes as we really need to come up with a less ugly solution for that.

* Futex deadlock fix [Steven Rostedt]

* Ringbuffer irq disabled check [Steven Rostedt]

* Scheduler state check fix [Steven Rostedt]

The incremental patch against 3.2.9-rt14 can be found here:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/incr/patch-3.2.9-rt14-rt15.patch.xz

The RT patch against 3.2.9 can be found here:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patch-3.2.9-rt15.patch.xz

The split quilt queue is available at:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patches-3.2.9-rt15.tar.xz

Enjoy,

tglx

#1 lore raw

Thomas,

Please fold this change into

cpu-rt-make-hotplug-lock-a-sleeping-spinlock-on-rt.patch

As the patch was never tested (nor even compiled) it introduced a nasty bug into taking a CPU down instead of fixing one.

Thanks,

-- Steve

kernel/cpu.c +7 -3
index c25b5ff..66dfb74 100644
@@ -59,16 +59,20 @@ static struct {
 	int refcount;
 } cpu_hotplug = {
 	.active_writer = NULL,
+#ifdef CONFIG_PREEMPT_RT_FULL
+	.lock = __SPIN_LOCK_UNLOCKED(cpu_hotplug.lock),
+#else
 	.lock = __MUTEX_INITIALIZER(cpu_hotplug.lock),
+#endif
 	.refcount = 0,
 };
 
 #ifdef CONFIG_PREEMPT_RT_FULL
-# define hotplug_lock() spin_lock(&cpu_hotplug.lock)
-# define hotplug_unlock() spin_unlock(&cpu_hotplug.lock)
+# define hotplug_lock() rt_spin_lock(&cpu_hotplug.lock)
+# define hotplug_unlock() rt_spin_unlock(&cpu_hotplug.lock)
 #else
 # define hotplug_lock() mutex_lock(&cpu_hotplug.lock)
-# define hotplug_lock() mutex_unlock(&cpu_hotplug.lock)
+# define hotplug_unlock() mutex_unlock(&cpu_hotplug.lock)
 #endif
 
 struct hotplug_pcp {
#2 lore raw
Quoted 5 lines · Steven Rostedt

Thomas,

Please fold this change into

cpu-rt-make-hotplug-lock-a-sleeping-spinlock-on-rt.patch

Thanks, this fixed the panic on shutdown I was experiencing! -- Fernando

Quoted 41 lines

As the patch was never tested (nor even compiled) it introduced a nasty bug into taking a CPU down instead of fixing one.

Thanks,

-- Steve

kernel/cpu.c +7 -4
index c25b5ff..66dfb74 100644
@@ -59,16 +59,20 @@ static struct {
  	int refcount;
  } cpu_hotplug = {
  	.active_writer = NULL,
+#ifdef CONFIG_PREEMPT_RT_FULL
+	.lock = __SPIN_LOCK_UNLOCKED(cpu_hotplug.lock),
+#else
  	.lock = __MUTEX_INITIALIZER(cpu_hotplug.lock),
+#endif
  	.refcount = 0,
  };
 
  #ifdef CONFIG_PREEMPT_RT_FULL
-# define hotplug_lock() spin_lock(&cpu_hotplug.lock)
-# define hotplug_unlock() spin_unlock(&cpu_hotplug.lock)
+# define hotplug_lock() rt_spin_lock(&cpu_hotplug.lock)
+# define hotplug_unlock() rt_spin_unlock(&cpu_hotplug.lock)
  #else
  # define hotplug_lock() mutex_lock(&cpu_hotplug.lock)
-# define hotplug_lock() mutex_unlock(&cpu_hotplug.lock)
+# define hotplug_unlock() mutex_unlock(&cpu_hotplug.lock)
  #endif
 
  struct hotplug_pcp {
 
 
--

To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Steven Rostedt
Quoted 9 lines · Steven Rostedt

Thomas,

Please fold this change into

cpu-rt-make-hotplug-lock-a-sleeping-spinlock-on-rt.patch

As the patch was never tested (nor even compiled) it introduced a nasty bug into taking a CPU down instead of fixing one.

Grr. I noticed that and fricking forgot to fix it :(

Thanks,

tglx