Re: [PATCH v2] sched/fair: Fix insertion in rq->leaf_cfs_rq_list
From: Peter Zijlstra
Date: Wed Jan 30 2019 - 11:59:10 EST
On Wed, Jan 30, 2019 at 04:48:47PM +0100, Vincent Guittot wrote:
> On Wed, 30 Jan 2019 at 14:40, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> >
>
> >
> > static inline void list_del_leaf_cfs_rq(struct cfs_rq *cfs_rq)
> > @@ -352,7 +354,12 @@ static inline void list_del_leaf_cfs_rq(struct cfs_rq *cfs_rq)
> > }
> > }
> >
> > -/* Iterate through all leaf cfs_rq's on a runqueue: */
> > +static inline void assert_list_leaf_cfs_rq(struct rq *rq)
> > +{
> > + SCHED_WARN_ON(rq->tmp_alone_branch != &rq->lead_cfs_rq_list);
>
> small typo : s/lead_cfs_rq_list/leaf_cfs_rq_list/
D'0h, thanks!