Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
anolis: sched: Ensure the logic of check_preempt_tick with CONFIG_GRO…
…UP_IDENTITY off ANBZ: torvalds#471 If we turn CONFIG_GROUP_IDENTITY off, is_highclass() will return false, which will result in that check_preempt_tick() returns immediately, and this is not right. To solved this problem, we just judge whether delta_exec < sysctl_sched_min_granularity if CONFIG_GROUP_IDENTITY is off. Signed-off-by: Peng Wang <rocking@linux.alibaba.com> Signed-off-by: Cruz Zhao <CruzZhao@linux.alibaba.com> Signed-off-by: Shile Zhang <shile.zhang@linux.alibaba.com> Acked-by: Michael Wang <yun.wang@linux.alibaba.com>
- Loading branch information