Skip to contentSkip to conversation

3.4-rc2-rt4

ANNOUNCE Thomas Gleixner 3 participants 3 messages Apr 13, 2012 – Apr 15, 2012 Scheduler

lore
Share & tools
lore
#0 lore raw

Dear RT Folks,

I'm pleased to announce the 3.4-rc2-rt4 release. -rt3 is an intermediate release which has an earlier version of the RCU build wreckage fix.

Changes since 3.4-rc2-rt2:

* Fix RCU build wreckage (jkacur)

* Remove the _GPL restriction from a few exports

This restores the status quo of pre 3.0 RT versions.

I fundamentally hate this change, but the point is, that RT replaces non GPL exports with GPL ones and therefor breaks "legitimate" abuses of the kernel.

OTOH I've been exposed to source code of some secret sauce drivers. That makes me believe that in a lot of cases the reason for not disclosing the driver code is that publishing might put the innocent and unprepared reader in danger of gastric ulcer and eyecancer.

So I commit this change for health protection reasons.

The delta patch to 3.4-rc2-rt2 is appended below and can be found here as incremental patches:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/incr/patch-3.4-rc2-rt2-rt3.patch.xz
http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/incr/patch-3.4-rc2-rt3-rt4.patch.xz

The RT patch against 3.4-rc2 can be found here:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/patch-3.4-rc2-rt4.patch.xz

The split quilt queue is available at:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/patches-3.4-rc2-rt4.tar.xz

Enjoy,

tglx
---

kernel/rcutree_plugin.h +5 -0
Index: linux-3.4/kernel/rcutree_plugin.h
===================================================================
@@ -1914,6 +1914,9 @@ int rcu_needs_cpu(int cpu)
 {
 	return rcu_cpu_has_callbacks(cpu);
 }
+#endif	/* !defined(CONFIG_RCU_FAST_NO_HZ) || defined(CONFIG_PREEMPT_RT_FULL) */
+
+#if !defined(CONFIG_RCU_FAST_NO_HZ)
 
 /*
  * Because we do not have RCU_FAST_NO_HZ, don't bother initializing for it.
@@ -1984,6 +1987,7 @@ static DEFINE_PER_CPU(struct hrtimer, rc
 static ktime_t rcu_idle_gp_wait;	/* If some non-lazy callbacks. */
 static ktime_t rcu_idle_lazy_gp_wait;	/* If only lazy callbacks. */
 
+#ifndef CONFIG_PREEMPT_RT_FULL
 /*
  * Allow the CPU to enter dyntick-idle mode if either: (1) There are no
  * callbacks on this CPU, (2) this CPU has not yet attempted to enter
@@ -2001,6 +2005,7 @@ int rcu_needs_cpu(int cpu)
 	/* Otherwise, RCU needs the CPU only if it recently tried and failed. */
 	return per_cpu(rcu_dyntick_holdoff, cpu) == jiffies;
 }
+#endif	/* #ifndef CONFIG_PREEMPT_RT_FULL */
 
 /*
  * Does the specified flavor of RCU have non-lazy callbacks pending on
kernel/rtmutex.c +1 -1
Index: linux-3.4/kernel/rtmutex.c
===================================================================
@@ -1282,7 +1282,7 @@ void __rt_mutex_init(struct rt_mutex *lo
 
 	debug_rt_mutex_init(lock, name);
 }
-EXPORT_SYMBOL_GPL(__rt_mutex_init);
+EXPORT_SYMBOL(__rt_mutex_init);
 
 /**
  * rt_mutex_init_proxy_locked - initialize and lock a rt_mutex on behalf of a
kernel/sched/core.c +2 -2
Index: linux-3.4/kernel/sched/core.c
===================================================================
@@ -3206,7 +3206,7 @@ void migrate_disable(void)
 	p->migrate_disable = 1;
 	preempt_enable();
 }
-EXPORT_SYMBOL_GPL(migrate_disable);
+EXPORT_SYMBOL(migrate_disable);
 
 void migrate_enable(void)
 {
@@ -3258,7 +3258,7 @@ void migrate_enable(void)
 	unpin_current_cpu();
 	preempt_enable();
 }
-EXPORT_SYMBOL_GPL(migrate_enable);
+EXPORT_SYMBOL(migrate_enable);
 #else
 static inline void update_migrate_disable(struct task_struct *p) { }
 #define migrate_disabled_updated(p)		0
localversion-rt +1 -1
Index: linux-3.4/localversion-rt
===================================================================
@@ -1 +1 @@
--rt2
+-rt4
#1 lore raw
Quoted 3 lines · Thomas Gleixner

Dear RT Folks,

I'm pleased to announce the 3.4-rc2-rt4 release.

< snip >

3.4-rc2-rt4 builds and boots on some ARM boards (PandaBoard, Realview) for:

- SMP, PREEMPT_RT_FULL
- SMP, PREEMPT_NONE
- UP, PREEMPT_RT_FULL
- UP, PREEMPT_NONE

A patch is required to resolve a mainline NULL pointer dereference on boot of Realview. The patch is in linux-next and should make it to Linus by the end of this week.

The patch is available at http://marc.info/?l=linux-serial&m=133235774423240&w=2

-Frank

#2 lore raw
In reply to Thomas Gleixner
Quoted 3 lines · Thomas Gleixner

Dear RT Folks,

I'm pleased to announce the 3.4-rc2-rt4 release.

[...]

I've made four largely trivial changes to the broken out queue so that the commits can all be reliably fed to "git am" on a patch-by-patch basis without warnings or errors.

Not sure what is the most convenient for you to get "patches of patches" from people, but the ones I've made are here:

http://git.kernel.org/?p=linux/kernel/git/paulg/3.4-rt-patches.git;a=shortlog;h=refs/heads/3.4-rc2-rt4-git-am-fixes

I've created a git repo of your rt patches, akin to what is done for stable, and put the cleanups on a branch. I'll keep master reserved for tracking your actual releases, and will tag accordingly.

If you can think of something that better matches your workflow, let me know and I'll adapt accordingly.

Thanks,
Paul.
----

The following changes since commit f99f81e7ddc08d220dd03a51cae06f59cfa021b7:

patches-3.4-rc2-rt4.tar.xz (2012-04-15 15:14:55 -0400)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulg/3.4-rt-patches.git
3.4-rc2-rt4-git-am-fixes

for you to fetch changes up to 2d3671bebaea24768cf443822959122efaeb8208:

git-am: whitespace fixes. (2012-04-15 15:28:57 -0400)

----------------------------------------------------------------
Paul Gortmaker (4):
delete dup mail header from
sched-teach-migrate_disable-about-atomic-contexts.patch
fix subjectless patches
git-am: ensure Subject: follows From:
git-am: whitespace fixes.