mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
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: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
18badddaa8
commit
28078e8f97
1 changed files with 2 additions and 0 deletions
|
@ -149,4 +149,6 @@ void destroy_context(struct mm_struct *mm)
|
|||
pmd_free((pmd_t *) mmu->last_pmd);
|
||||
#endif
|
||||
}
|
||||
|
||||
free_ldt(mmu);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue