mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2024-12-27 22:46:57 +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
@ -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 New Issue
Block a user