Commit c59591e1 authored by Linus Torvalds's avatar Linus Torvalds

Import 2.3.12pre5

parent 7176b206
......@@ -266,9 +266,12 @@ static inline void __exit_mm(struct task_struct * tsk)
struct mm_struct * mm = tsk->mm;
if (mm) {
atomic_inc(&init_mm.mm_count);
mm_release();
atomic_inc(&mm->mm_count);
if (mm != tsk->active_mm) BUG();
tsk->mm = NULL;
tsk->active_mm = &init_mm;
switch_mm(mm, &init_mm);
mmput(mm);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment