]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/oom_kill.c
mm, oom_adj: make sure processes sharing mm have same view of oom_score_adj
[mirror_ubuntu-artful-kernel.git] / mm / oom_kill.c
index d4a929d79470aa0c9edc6131854dbf309ca39d47..d8220c5603a563e0ff684dd64ce3f8e4c4389cd9 100644 (file)
@@ -415,7 +415,7 @@ bool oom_killer_disabled __read_mostly;
  * task's threads: if one of those is using this mm then this task was also
  * using it.
  */
-static bool process_shares_mm(struct task_struct *p, struct mm_struct *mm)
+bool process_shares_mm(struct task_struct *p, struct mm_struct *mm)
 {
        struct task_struct *t;