3.2.22-rt35
Subsystems (5)
Steven Rostedt
maintainerDear RT Folks,
I'm pleased to announce the 3.2.22-rt35 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
Head SHA1: 852c3bd6c35aa3718de57c87f1a3bcd4dc69af3d
Or to build 3.2.22-rt35 directly, the following patches should be applied:
http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.tar.xz
http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.2.22.xz
http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/patch-3.2.22-rt35.patch.xz
You can also build from 3.2.22-rt34 by applying the incremental patch:
http://www.kernel.org/pub/linux/kernel/projects/rt/3.2/incr/patch-3.2.22-rt34-rt35.patch.xz
Note, I've upgraded to Evolution 3.4.3 on my Debian (testing) system, and I've had nothing but trouble. It locks up and it no longer accesses the address book. This has caused some issues in my work flow as I use my address book and Evolution in the RT release process :-p
Enjoy,
-- Steve
Changes from 3.2.22-rt34:
---
Carsten Emde (4):
Latency histogramms: Cope with backwards running local trace clock Latency histograms: Adjust timer, if already elapsed when programmed Disable RT_GROUP_SCHED in PREEMPT_RT_FULL
Latency histograms: Detect another yet overlooked sharedprio condition
Mike Galbraith (1):
fs, jbd: pull your plug when waiting for space
Steven Rostedt (1):
Linux 3.2.22-rt35
Thomas Gleixner (1):
slab: Prevent local lock deadlock
Yong Zhang (1):
perf: Make swevent hrtimer run in irq instead of softirq
----
fs/jbd/checkpoint.c | 2 ++ include/linux/hrtimer.h | 3 ++ include/linux/sched.h | 2 +- init/Kconfig | 1 + kernel/events/core.c | 1 + kernel/hrtimer.c | 16 ++++++++-- kernel/trace/latency_hist.c | 74 +++++++++++++++++++++++-------------------- localversion-rt | 2 +- mm/slab.c | 26 ++++++++++++--- 9 files changed, 85 insertions(+), 42 deletions(-)
---------------------------
fs/jbd/checkpoint.c +2 -0
@@ -129,6 +129,8 @@ void __log_wait_for_space(journal_t *journal)if (journal->j_flags &JFS_ABORT )return ;spin_unlock (&journal->j_state_lock); +if (current->plug) +io_schedule ();mutex_lock (&journal->j_checkpoint_mutex);/*
include/linux/hrtimer.h +3 -0
@@ -113,6 +113,9 @@ struct hrtimer {unsigned long state;struct list_head cb_entry;int irqsafe; +#ifdef CONFIG_MISSED_TIMER_OFFSETS_HIST +ktime_t praecox; +#endif #ifdef CONFIG_TIMER_STATS int start_pid;void *start_site;
include/linux/sched.h +1 -1
@@ -1585,7 +1585,7 @@ struct task_struct {#ifdef CONFIG_WAKEUP_LATENCY_HIST u64 preempt_timestamp_hist;#ifdef CONFIG_MISSED_TIMER_OFFSETS_HIST -unsigned long timer_offset; +long timer_offset;#endif #endif #endif /* CONFIG_TRACING */
init/Kconfig +1 -0
@@ -731,6 +731,7 @@ config RT_GROUP_SCHED bool "Group scheduling for SCHED_RR/FIFO" depends on EXPERIMENTAL depends on CGROUP_SCHED + depends on !PREEMPT_RT_FULL default n help This feature lets you explicitly allocate real CPU bandwidth
kernel/events/core.c +1 -0
@@ -5420,6 +5420,7 @@ static void perf_swevent_init_hrtimer(struct perf_event *event)hrtimer_init (&hwc->hrtimer,CLOCK_MONOTONIC ,HRTIMER_MODE_REL ); hwc->hrtimer.function = perf_swevent_hrtimer; + hwc->hrtimer.irqsafe =1 ;/* * Since hrtimers have a fixed rate, we can do a static freq->period
kernel/hrtimer.c +14 -2
@@ -1021,6 +1021,17 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,#endif } +#ifdef CONFIG_MISSED_TIMER_OFFSETS_HIST + { +ktime_t now = new_base->get_time (); + +if (ktime_to_ns (tim) <ktime_to_ns (now)) + timer->praecox = now; +else + timer->praecox =ktime_set (0 ,0 ); + } +#endif +hrtimer_set_expires_range_ns (timer, tim, delta_ns);timer_stats_hrtimer_set_start_info (timer);
@@ -1458,8 +1469,9 @@ retry: timer = container_of(node, struct hrtimer, node); trace_hrtimer_interrupt(raw_smp_processor_id(), - ktime_to_ns(ktime_sub( - hrtimer_get_expires(timer), basenow)), + ktime_to_ns(ktime_sub(ktime_to_ns(timer->praecox) ? + timer->praecox : hrtimer_get_expires(timer), + basenow)), current, timer->function == hrtimer_wakeup ? container_of(timer, struct hrtimer_sleeper,
kernel/trace/latency_hist.c +40 -34
207 lines not on this page · raw message
localversion-rt +1 -1
@@ -1 +1 @@ --rt34 +-rt35
mm/slab.c +22 -4
@@ -739,8 +739,26 @@ slab_on_each_cpu(void (*func)(void *arg, int this_cpu), void *arg) {unsigned int i; +get_cpu_light ();for_each_online_cpu (i)func (arg, i); +put_cpu_light (); +} + +static void lock_slab_on (unsigned int cpu) +{ +if (cpu ==smp_processor_id ()) +local_lock_irq (slab_lock); +else +local_spin_lock_irq (slab_lock, &per_cpu (slab_lock, cpu).lock); +} + +static void unlock_slab_on (unsigned int cpu) +{ +if (cpu ==smp_processor_id ()) +local_unlock_irq (slab_lock); +else +local_spin_unlock_irq (slab_lock, &per_cpu (slab_lock, cpu).lock); }#endif
@@ -2627,10 +2645,10 @@ static void do_drain(void *arg, int cpu) {LIST_HEAD (tmp); -spin_lock_irq (&per_cpu (slab_lock, cpu).lock); +lock_slab_on (cpu);__do_drain (arg, cpu);list_splice_init (&per_cpu (slab_free_list, cpu), &tmp); -spin_unlock_irq (&per_cpu (slab_lock, cpu).lock); +unlock_slab_on (cpu);free_delayed (&tmp); }#endif
@@ -4095,9 +4113,9 @@ static void do_ccupdate_local(void *info)#else static void do_ccupdate_local (void *info,int cpu) { -spin_lock_irq (&per_cpu (slab_lock, cpu).lock); +lock_slab_on (cpu);__do_ccupdate_local (info, cpu); -spin_unlock_irq (&per_cpu (slab_lock, cpu).lock); +unlock_slab_on (cpu); }#endif