]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/mm_types.h
cgroups: add an owner to the mm_struct
[net-next-2.6.git] / include / linux / mm_types.h
index e2bae8dde35a2851e2ead741fbfda39636a23794..bc97bd54f6060f4ebc023c6ba371498c83a3559c 100644 (file)
@@ -225,8 +225,9 @@ struct mm_struct {
        /* aio bits */
        rwlock_t                ioctx_list_lock;        /* aio lock */
        struct kioctx           *ioctx_list;
-#ifdef CONFIG_CGROUP_MEM_RES_CTLR
-       struct mem_cgroup *mem_cgroup;
+#ifdef CONFIG_MM_OWNER
+       struct task_struct *owner;      /* The thread group leader that */
+                                       /* owns the mm_struct.          */
 #endif
 };