提交 28078e8f 编写于 作者: J Jeff Dike 提交者: Linus Torvalds

uml: free LDT state on process exit

The space allocated for a process LDT wasn't being freed when the process
exited.
Signed-off-by: NJeff Dike <jdike@linux.intel.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 18baddda
......@@ -149,4 +149,6 @@ void destroy_context(struct mm_struct *mm)
pmd_free((pmd_t *) mmu->last_pmd);
#endif
}
free_ldt(mmu);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册