projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18baddd
)
uml: free LDT state on process exit
author
Jeff Dike
<jdike@addtoit.com>
Tue, 16 Oct 2007 08:27:08 +0000
(
01:27
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:06 +0000
(09:43 -0700)
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>
arch/um/kernel/skas/mmu.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/skas/mmu.c
b/arch/um/kernel/skas/mmu.c
index 48c8c136c03855ac23c1e76fd866d0fcb34711d4..ae79888cf5200b76eab111dabf29ca2642c33d67 100644
(file)
--- a/
arch/um/kernel/skas/mmu.c
+++ b/
arch/um/kernel/skas/mmu.c
@@
-149,4
+149,6
@@
void destroy_context(struct mm_struct *mm)
pmd_free((pmd_t *) mmu->last_pmd);
#endif
}
+
+ free_ldt(mmu);
}