On 30/09/21 00:10, Frederic Weisbecker wrote: > The callbacks processing time limit makes sure we are not exceeding a > given amount of time executing the queue. > > However its "continue" clause bypasses the cond_resched() call on > rcuc and NOCB kthreads, delaying it until we reach the limit, which can > be very long... > > Make sure the scheduler has a higher priority than the time limit. > > Signed-off-by: Frederic Weisbecker <frederic@xxxxxxxxxx> > Cc: Valentin Schneider <valentin.schneider@xxxxxxx> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Cc: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> > Cc: Josh Triplett <josh@xxxxxxxxxxxxxxxx> > Cc: Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> > Cc: Boqun Feng <boqun.feng@xxxxxxxxx> > Cc: Neeraj Upadhyay <neeraju@xxxxxxxxxxxxxx> > Cc: Uladzislau Rezki <urezki@xxxxxxxxx> > Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Reviewed-by: Valentin Schneider <valentin.schneider@xxxxxxx>