Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28078e8f authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -149,4 +149,6 @@ void destroy_context(struct mm_struct *mm)
		pmd_free((pmd_t *) mmu->last_pmd);
#endif
	}

	free_ldt(mmu);
}