提交 4521ac5c 编写于 作者: X Xie XiuQi

arm64/mpam: free mon when remove momgroups

hulk inclusion
category: feature
bugzilla: 5510
CVE: NA
Signed-off-by: NXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: NHanjun Guo <guohanjun@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 fd75045e
......@@ -736,6 +736,10 @@ static void resctrl_group_rm_mon(struct resctrl_group *rdtgrp,
struct resctrl_group *prdtgrp = rdtgrp->mon.parent;
int cpu;
#ifdef CONFIG_ARM64 /* [FIXME] arch specific code */
free_mon(rdtgrp->mon.mon);
#endif
/* Give any tasks back to the parent group */
resctrl_move_group_tasks(rdtgrp, prdtgrp, tmpmask);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册