]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/mm_types.h
Merge branch 'master' into csb1725
[mv-sheeva.git] / include / linux / mm_types.h
index ee7e258627f9f5b9999e4c3033f7fa78c5927b48..bb7288a782fde2ff1d19978a7b9cb387476575ba 100644 (file)
@@ -299,7 +299,7 @@ struct mm_struct {
         * new_owner->mm == mm
         * new_owner->alloc_lock is held
         */
-       struct task_struct *owner;
+       struct task_struct __rcu *owner;
 #endif
 
 #ifdef CONFIG_PROC_FS
@@ -310,6 +310,8 @@ struct mm_struct {
 #ifdef CONFIG_MMU_NOTIFIER
        struct mmu_notifier_mm *mmu_notifier_mm;
 #endif
+       /* How many tasks sharing this mm are OOM_DISABLE */
+       atomic_t oom_disable_count;
 };
 
 /* Future-safe accessor for struct mm_struct's cpu_vm_mask. */