Re: [PATCH 2/9] sched: Fix balance_callback()
From: Thomas Gleixner
Date: Wed Sep 23 2020 - 10:08:42 EST
On Mon, Sep 21 2020 at 18:35, Peter Zijlstra wrote:
> return 0;
> --- a/kernel/sched/sched.h
> +++ b/kernel/sched/sched.h
> @@ -1220,6 +1220,8 @@ static inline void rq_pin_lock(struct rq
> #ifdef CONFIG_SCHED_DEBUG
> rq->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP);
> rf->clock_update_flags = 0;
> +
> + SCHED_WARN_ON(rq->balance_callback);
fails to compile on !SMP
Thanks,
tglx