sched/qos: Fix warning in CPU hotplug scenarios
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7ZMCB CVE: NA -------------------------------- CPU hotplug callbacks race against distribute_cfs_runtime(), when the QOS_SCHED feature is enabled, there may be situations where the cfs_rq-> runtime_remaining == 1 and cfs_rq is QOS_THROTTLED. Turn off the Qos_throttle when the CPU is offline. No longer allocate time to cfs_rq in this scenario to fix the warning. Fixes: 4eb6eb79 ("sched/qos: Don't unthrottle cfs_rq when cfs_rq is throttled by qos") Signed-off-by:Xia Fukun <xiafukun@huawei.com>
Loading
Please sign in to comment