+11
−5
Loading
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB7FU1 -------------------------------- In enqueue_entity, it assigns rq_clock(rq) to a cfs_rq when this cfs_rq is throttled by QOS, which causes SCHED_WARN_ON(cfs_rq->throttled_clock) in throttle_cfs_rq. So we add a "cfs_rq->throttled != QOS_THROTTLED" check to avoid assign rq_clock to the cfs_rq throttled by QOS. Fixes: 926b9b0c ("sched: Throttle qos cfs_rq when current cpu is running online task") Signed-off-by:Wenyu Huang <huangwenyu5@huawei.com> Signed-off-by:
Liu Kai <liukai284@huawei.com>