Re: [PATCH -tip/core/rcu] fixes to include/linux/rcupreempt.h

From: Steven Rostedt
Date: Wed Aug 20 2008 - 21:02:20 EST



On Wed, 20 Aug 2008, Paul E. McKenney wrote:
> > > -DECLARE_PER_CPU(struct rcu_dyntick_sched, rcu_dyntick_sched);
> >
> > In -rt we deleted the first declaration. Is rcu_dyntick_sched defined on
> > !CONFIG_NO_HZ?
>
> It builds for me in current tip/core/rcu without the above
> DECLARE_PER_CPU(). And the reason is the call_rcu_sched() function, which
> requires rcu_dyntick_sched.sched_qs and rcu_dyntick_sched.sched_qs_snap
> be defined even if !CONFIG_NO_HZ.
>
> I suppose I could remove the other elements from the rcu_dyntick_sched
> structure if !CONFIG_NO_HZ. Worthwhile?
>

Nah, forget about it. I've got a few different versions I'm dealing with.

Thanks,

-- Steve

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