Re: [PATCH 50/50] Kill sched.h dependency on rcupdate.h

From: Kent Overstreet
Date: Sat Dec 16 2023 - 17:20:57 EST


On Sat, Dec 16, 2023 at 11:35:04AM -0800, Paul E. McKenney wrote:
> On Fri, Dec 15, 2023 at 10:35:51PM -0500, Kent Overstreet wrote:
> > by moving cond_resched_rcu() to rcupdate.h, we can kill another big
> > sched.h dependency.
> >
> > Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
>
> Could you please instead move the cond_resched_rcu() function to
> include/linux/rcupdate_wait.h? This would avoid breaking Ingo's
> separation that makes it possible to include rcupdate.h without also
> pulling in sched.h.

Yep, will do.