Commit 4afa5977 authored by Zhang Qiao's avatar Zhang Qiao Committed by Zheng Zengkai
Browse files

sched: Unthrottle qos cfs rq when free a task group

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I3ZX4D


CVE: NA

--------------------------------

When freeing a taskgroup, we will free cfs rqs of the group, even if cfs rqs
have been throttled, otherwise it will cause a Use-After-Free Bug. Therefore
before freeing a taskgroup, we should unthrottle all cfs rqs belonging to
the taskgroup.

Signed-off-by: default avatarZhang Qiao <zhangqiao22@huawei.com>
Signed-off-by: default avatarZheng Zucheng <zhengzucheng@huawei.com>
Reviewed-by: default avatarChen Hui <judy.chenhui@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent bf8d90ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment