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 <[email protected]> Signed-off-by: Cruz Zhao <[email protected]> Signed-off-by: Shile Zhang <[email protected]> Acked-by: Michael Wang <[email protected]>
- Loading branch information