On Thu, Apr 29, 2021 at 9:22 AM Venkatesh Srinivas <venkateshs@xxxxxxxxxxxx> wrote: > > From: Benjamin Segall <bsegall@xxxxxxxxxx> > > single_task_running() is usually more general than need_resched() > but CFS_BANDWIDTH throttling will use resched_task() when there > is just one task to get the task to block. This was causing > long-need_resched warnings and was likely allowing VMs to > overrun their quota when halt polling. > > Signed-off-by: Ben Segall <bsegall@xxxxxxxxxx> > Signed-off-by: Venkatesh Srinivas <venkateshs@xxxxxxxxxxxx> Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>