Re: [RFC PATCH -rt 1/2] RCU priority boosting that survives vicious testing

From: Paul E. McKenney
Date: Fri Feb 02 2007 - 10:57:31 EST


On Thu, Feb 01, 2007 at 09:23:33AM +0100, Ingo Molnar wrote:
>
> * Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> wrote:
>
> > Here is the RCU priority-boosting patch. Pretty close to the
> > http://lkml.org/lkml/2007/1/24/295 version. This patch prevents
> > preempted or blocked low-priority RCU readers from indefinitely
> > stalling RCU grace periods.
>
> thanks - i've applied both patches to -rt and it's looking good so far!
> Find a small cosmetic fix below.

Sorry for the %d noise! :-/

I will send another patch addressing Nigel's freeze_processes()
review comments.

Thanx, Paul

> Ingo
>
> Index: linux/kernel/rcupreempt.c
> ===================================================================
> --- linux.orig/kernel/rcupreempt.c
> +++ linux/kernel/rcupreempt.c
> @@ -489,7 +489,7 @@ void init_rcu_boost_late(void)
> rcu_boost_task = kthread_run(rcu_booster, NULL, "RCU Prio Booster");
> if (IS_ERR(rcu_boost_task)) {
> printk(KERN_ALERT
> - "Unable to create RCU Priority Booster, errno %d\n",
> + "Unable to create RCU Priority Booster, errno %ld\n",
> -PTR_ERR(rcu_boost_task));
>
> /*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/