Commit 28078e8f authored by Jeff Dike's avatar Jeff Dike Committed by 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: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment