Re: [tip:sched/urgent] sched: Teach might_sleep() aboutpreemptible RCU

From: Frederic Weisbecker
Date: Wed Dec 16 2009 - 14:14:12 EST


On Wed, Dec 16, 2009 at 07:57:32PM +0100, Frederic Weisbecker wrote:
> Looks like the problem is here:
>
> rcupdate.h:
>
> #if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU)
> #include <linux/rcutree.h>
> #elif defined(CONFIG_TINY_RCU)
> #include <linux/rcutiny.h>
>
> I guess it barfs in rcutiny configs.
>
> I should define these helpers in rcupdate.
>


Actually I'm going to define the rcu tiny off-case from rcutiny.h
It looks like rcupdate.h should really keep only the generic
bits.

--
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/