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:
Jeff Dike 2007-10-16 01:27:08 -07:00 committed by Linus Torvalds
parent 18badddaa8
commit 28078e8f97
1 changed files with 2 additions and 0 deletions

View File

@ -149,4 +149,6 @@ void destroy_context(struct mm_struct *mm)
pmd_free((pmd_t *) mmu->last_pmd);
#endif
}
free_ldt(mmu);
}