From: Xie XiuQi <xiexiuqi(a)huawei.com>
commit 4521ac5c2b7e550d7053a17a1c97a63cc9b72265 openEuler-1.0
hulk inclusion
category: feature
bugzilla: 5510
CVE: NA
Signed-off-by: Xie XiuQi <xiexiuqi(a)huawei.com>
Reviewed-by: Hanjun Guo <guohanjun(a)huawei.com>
Signed-off-by: Xin Hao <haoxing990(a)gmail.com>
---
fs/resctrlfs.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/fs/resctrlfs.c b/fs/resctrlfs.c
index 87167893009f..785ff1031ada 100644
--- a/fs/resctrlfs.c
+++ b/fs/resctrlfs.c
@@ -737,6 +737,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);
--
2.31.0