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

From: Ingo Molnar
Date: Thu Feb 01 2007 - 03:33:06 EST



* 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.

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/