Skip to contentSkip to conversation

UML - Free LDT state on process exit

PATCH New Jeff Dike 1 participant 1 message Aug 14, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 12/14 UML - Free LDT state on process exit

The space allocated for a process LDT wasn't being freed when the process exited.

--

 arch/um/kernel/skas/mmu.c |    2 ++
 1 file changed, 2 insertions(+)
arch/um/kernel/skas/mmu.c +2 -0
Index: linux-2.6.22/arch/um/kernel/skas/mmu.c
===================================================================
@@ -149,4 +149,6 @@ void destroy_context(struct mm_struct *m
 		pmd_free((pmd_t *) mmu->last_pmd);
 #endif
 	}
+
+	free_ldt(mmu);
 }

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel