]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/linux/sched.h
mm, oom_reaper: do not mmput synchronously from the oom reaper context
[mirror_ubuntu-zesty-kernel.git] / include / linux / sched.h
index 40eabf176ce2b845844059832e50f667ffd0cbd2..479e3cade7e90317d3726408494667b90792c563 100644 (file)
@@ -2730,6 +2730,11 @@ static inline void mmdrop(struct mm_struct * mm)
 
 /* mmput gets rid of the mappings and all user-space */
 extern void mmput(struct mm_struct *);
+/* same as above but performs the slow path from the async kontext. Can
+ * be called from the atomic context as well
+ */
+extern void mmput_async(struct mm_struct *);
+
 /* Grab a reference to a task's mm, if it is not already going away */
 extern struct mm_struct *get_task_mm(struct task_struct *task);
 /*