Re: [Announce] 2.6.29.3-rt12

Hugo Vincent
2009-05-13T00:16:10Z

This patch resulted in a broken build for me, until I did this:

--- a/patch-2.6.29.3-rt12
+++ b/patch-2.6.29.3-rt12
@@ -121754,7 +121754,7 @@ Index: linux-2.6-tip/kernel/sched.c
}

/*
-@@ -2801,6 +3177,15 @@ static void update_cpu_load(struct rq *t
+@@ -2801,6 +3177,17 @@ static void update_cpu_load(struct rq *t
new_load += scale-1;
this_rq->cpu_load[i] = (old_load*(scale-1) + new_load) >> i;
}
@@ -121765,8 +121765,10 @@ Index: linux-2.6-tip/kernel/sched.c
+ this_rq->calc_load_update += LOAD_FREQ;
+ calc_load_account_active(this_rq);
+
++#ifdef CONFIG_SMP
+ if (this_rq->cpu == calc_load_cpu)
+ calc_global_load();
++#endif
}

#ifdef CONFIG_SMP

I have no idea if that is a valid thing to do, but it seems to work for me.

Regards,

Hugo Vincent

On Wed, May 13, 2009 at 11:27 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> We are pleased to announce the next update to our new preempt-rt
> series.
>
>    - rebase to 2.6.29.3 (NOP)
>    - loadavg optimization
>    - futex updates (tglx, peterz)
>
> Download locations:
>
>    http://rt.et.redhat.com/download/
>    http://www.kernel.org/pub/linux/kernel/projects/rt/
>
> Information on the RT patch can be found at:
>
>    http://rt.wiki.kernel.org/index.php/Main_Page
>
> to build the 2.6.29.3-rt12 tree, the following patches should be
> applied:
>
>    http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.3.tar.bz2
>    http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.29.3-rt12.bz2
>
> The broken out patches are also available at the same download
> locations.
>
> Enjoy !
>
>       tglx
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html