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

Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
--
 arch/um/kernel/skas/mmu.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6.22/arch/um/kernel/skas/mmu.c
===================================================================
--- linux-2.6.22.orig/arch/um/kernel/skas/mmu.c 2007-08-13 16:58:12.000000000 
-0400
+++ linux-2.6.22/arch/um/kernel/skas/mmu.c      2007-08-13 16:59:32.000000000 
-0400
@@ -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

Reply via email to