All of lore.kernel.org
 help / color / mirror / Atom feed
* [trival patch]x86: unmap vdso pages are missed
@ 2010-07-30  7:55 Shaohua Li
  2010-07-30 17:02 ` H. Peter Anvin
  0 siblings, 1 reply; 4+ messages in thread
From: Shaohua Li @ 2010-07-30  7:55 UTC (permalink / raw)
  To: lkml; +Cc: Ingo Molnar, H. Peter Anvin

The memory hasn't been unmapped.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>

diff --git a/arch/x86/vdso/vma.c b/arch/x86/vdso/vma.c
index ac74869..80f23ed 100644
--- a/arch/x86/vdso/vma.c
+++ b/arch/x86/vdso/vma.c
@@ -67,6 +67,7 @@ static int __init init_vdso_vars(void)
 	*(typeof(__ ## x) **) var_ref(VDSO64_SYMBOL(vbase, x), #x) = &__ ## x;
 #include "vextern.h"
 #undef VEXTERN
+	vunmap(vbase);
 	return 0;
 
  oom:



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-02 23:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-30  7:55 [trival patch]x86: unmap vdso pages are missed Shaohua Li
2010-07-30 17:02 ` H. Peter Anvin
2010-08-02  0:49   ` Shaohua Li
2010-08-02 23:42     ` [tip:x86/vdso] x86, vdso: Unmap vdso pages tip-bot for Shaohua Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.