mm: memcg: do not trap chargers with full callstack on OOM
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / sched.h
index 9ce1fa5..6682da3 100644 (file)
@@ -1395,6 +1395,10 @@ struct task_struct {
        unsigned int memcg_kmem_skip_account;
        struct memcg_oom_info {
                unsigned int may_oom:1;
+               unsigned int in_memcg_oom:1;
+               unsigned int oom_locked:1;
+               int wakeups;
+               struct mem_cgroup *wait_on_memcg;
        } memcg_oom;
 #endif
 #ifdef CONFIG_UPROBES