summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/tracehook.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/tracehook.h')
-rw-r--r--kernel/include/linux/tracehook.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/include/linux/tracehook.h b/kernel/include/linux/tracehook.h
index 84d497297..26c152122 100644
--- a/kernel/include/linux/tracehook.h
+++ b/kernel/include/linux/tracehook.h
@@ -50,6 +50,7 @@
#include <linux/ptrace.h>
#include <linux/security.h>
#include <linux/task_work.h>
+#include <linux/memcontrol.h>
struct linux_binprm;
/*
@@ -188,6 +189,8 @@ static inline void tracehook_notify_resume(struct pt_regs *regs)
smp_mb__after_atomic();
if (unlikely(current->task_works))
task_work_run();
+
+ mem_cgroup_handle_over_high();
}
#endif /* <linux/tracehook.h> */