]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/sched.h
mm: memcg: do not trap chargers with full callstack on OOM
[mirror_ubuntu-artful-kernel.git] / include / linux / sched.h
index 9ce1fa53031f20eaeadf5f2ddf9d9620b9f17fae..6682da36b293cfad598a0c5803e9e32038f72aa3 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