Skip to contentSkip to conversation

2.6.23.9-rt13

DISCUSSION Steven Rostedt 3 participants 4 messages Dec 13, 2007 – Dec 14, 2007

lore
Share & tools
lore
#0 lore raw

We are pleased to announce the 2.6.23.9-rt13 tree, which can be downloaded from the location:

http://www.kernel.org/pub/linux/kernel/projects/rt/

Changes since 2.6.23.9-rt12

- Backported the new RT Balancing code from sched-devel New changes by Steven Rostedt, Gregory Haskins, Ingo Molnar, and Dmitry Adamushko

- 2 dimension CPU Prio RT balancing search (Gregory Haskins)

- ARM compile fix (Kevin Hilman)

- Disable HPET legacy replacement for kdump (OGAWA Hirofumi)

- disable HPET on shutdown (OGAWA Hirofumi)

- fix for futex_wait signal stack corruption (Steven Rostedt)

- Handle IRQ_PENDING for simple irq thread (Steven Rostedt)

- latency tracer updates (Daniel Walker)

- Remove warning in local_bh_enable (Kevin Hilman)

- use real time pcp locking for page draining during cpu (Andi Kleen)

- Revert lazy disable irq from simple irq handler (Steven Rostedt)

- AT91 switch to edge from simple irq (Remy Bohmer)

to build a 2.6.23.9-rt13 tree, the following patches should be applied:

http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.9.tar.bz2
http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.23.9-rt13.bz2

And like always, my RT version of Matt Mackall's ketchup will get this for you nicely:

http://people.redhat.com/srostedt/rt/tools/ketchup-0.9.8-rt2

The broken out patches are also available.

-- Steve

#1 lore raw

Hello Steven,

If I compile -rt13 I get some compile warnings on ARM (AT91):
1) This one did not exist in rt1:
In file included from kernel/sched.c:911:
kernel/sched_rt.c: In function 'dec_rt_tasks':
kernel/sched_rt.c:88: warning: unused variable 'highest_prio'
2) This one is there already for a much longer time:
CC kernel/rcupreempt.o
kernel/rcupreempt.c:1001: warning: 'per_cpu__rcu_dyntick_snapshot' defined but not used

Both warnings are fixed by the attached patch, but warning 2 needs some review. This var is defined twice in this file, 1 in the NO_HZ ifdef, and 1 which seems to be not used.

Kind Regards,

Remy

2007/12/13, Steven Rostedt <[email protected]>:

Quoted 47 lines

We are pleased to announce the 2.6.23.9-rt13 tree, which can be downloaded from the location:

http://www.kernel.org/pub/linux/kernel/projects/rt/

Changes since 2.6.23.9-rt12

- Backported the new RT Balancing code from sched-devel New changes by Steven Rostedt, Gregory Haskins, Ingo Molnar, and Dmitry Adamushko

- 2 dimension CPU Prio RT balancing search (Gregory Haskins)

- ARM compile fix (Kevin Hilman)

- Disable HPET legacy replacement for kdump (OGAWA Hirofumi)

- disable HPET on shutdown (OGAWA Hirofumi)

- fix for futex_wait signal stack corruption (Steven Rostedt)

- Handle IRQ_PENDING for simple irq thread (Steven Rostedt)

- latency tracer updates (Daniel Walker)

- Remove warning in local_bh_enable (Kevin Hilman)

- use real time pcp locking for page draining during cpu (Andi Kleen)

- Revert lazy disable irq from simple irq handler (Steven Rostedt)

- AT91 switch to edge from simple irq (Remy Bohmer)

to build a 2.6.23.9-rt13 tree, the following patches should be applied:

http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.9.tar.bz2
http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.23.9-rt13.bz2

And like always, my RT version of Matt Mackall's ketchup will get this for you nicely:

http://people.redhat.com/srostedt/rt/tools/ketchup-0.9.8-rt2

The broken out patches are also available.

Quoted 8 lines

-- Steve

-
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

Fix a compile warning on -rt13, and UP (ARM AT91rm9200)

---
 kernel/rcupreempt.c |    2 --
 kernel/sched_rt.c   |    3 ++-
 2 files changed, 2 insertions(+), 3 deletions(-)
kernel/sched_rt.c +2 -1
Index: linux-2.6.23/kernel/sched_rt.c
===================================================================
@@ -85,8 +85,9 @@ static inline void inc_rt_tasks(struct t
 
 static inline void dec_rt_tasks(struct task_struct *p, struct rq *rq)
 {
+#ifdef CONFIG_SMP
 	int highest_prio = rq->rt.highest_prio;
-
+#endif
 	WARN_ON(!rt_task(p));
 	WARN_ON(!rq->rt.rt_nr_running);
 	rq->rt.rt_nr_running--;
kernel/rcupreempt.c +0 -2
Index: linux-2.6.23/kernel/rcupreempt.c
===================================================================
@@ -998,8 +998,6 @@ void __init rcu_init_rt(void)
 	rcu_preempt_boost_init();
 }
 
-static DEFINE_PER_CPU(long, rcu_dyntick_snapshot);
-
 /*
  * Deprecated, use synchronize_rcu() or synchronize_sched() instead.
  */
#2 lore raw

Hi Remy,

This would have been better to send this as two separate patches. They are two different issues.

Quoted 5 lines · Remy Bohmer

If I compile -rt13 I get some compile warnings on ARM (AT91):
1) This one did not exist in rt1:
In file included from kernel/sched.c:911:
kernel/sched_rt.c: In function 'dec_rt_tasks':
kernel/sched_rt.c:88: warning: unused variable 'highest_prio'

This is from Gregory Haskins' patch. He forgot to compile check for warnings on UP again ;-)

Quoted 4 lines

2) This one is there already for a much longer time:
CC kernel/rcupreempt.o
kernel/rcupreempt.c:1001: warning: 'per_cpu__rcu_dyntick_snapshot' defined but not used

This was a merge conflict being solved incorrectly.

Quoted 4 lines

Both warnings are fixed by the attached patch, but warning 2 needs some review. This var is defined twice in this file, 1 in the NO_HZ ifdef, and 1 which seems to be not used.

Yeah, I'll look into it since I wrote that usage ;-)

Greg,

Can you merge the first part into your patch and resend it to me.

I'll look at the second one.

Thanks,

-- Steve

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line

On Thu, Dec 13, 2007 at 7:06 PM, in message

<[email protected]>, Steven Rostedt

Quoted 3 lines · <[email protected]> wrote:

This is from Gregory Haskins' patch. He forgot to compile check for warnings on UP again ;-)

Doh!

Quoted 5 lines

Greg,

Can you merge the first part into your patch and resend it to me.

Sure thing. Would you like me to update only the sched-devel patch, only the 23-rt13 patch, or both?

-Greg