]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/mm_types.h
task_struct cleanup: move binfmt field to mm_struct
[mirror_ubuntu-bionic-kernel.git] / include / linux / mm_types.h
index 7acc8439d9b305caad3d8354ee7ad43e0a3de465..21d6aa45206aa985a01c1a1fcfb9faaf7ff83307 100644 (file)
@@ -240,7 +240,7 @@ struct mm_struct {
 
        unsigned long saved_auxv[AT_VECTOR_SIZE]; /* for /proc/PID/auxv */
 
-       s8 oom_adj;     /* OOM kill score adjustment (bit shift) */
+       struct linux_binfmt *binfmt;
 
        cpumask_t cpu_vm_mask;
 
@@ -261,11 +261,10 @@ struct mm_struct {
        unsigned long flags; /* Must use atomic bitops to access the bits */
 
        struct core_state *core_state; /* coredumping support */
-
-       /* aio bits */
+#ifdef CONFIG_AIO
        spinlock_t              ioctx_lock;
        struct hlist_head       ioctx_list;
-
+#endif
 #ifdef CONFIG_MM_OWNER
        /*
         * "owner" points to a task that is regarded as the canonical