diff options
author | Shaohua Li <shaohua.li@intel.com> | 2010-08-02 08:49:34 +0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-08-02 15:11:59 -0700 |
commit | be783a47214afc5a0aea9dafcbd9f1535ba05e94 (patch) | |
tree | fe647612c7e1f4e07d71c115af12d8a0c5671778 /arch/x86/vdso | |
parent | 9fe6206f400646a2322096b56c59891d530e8d51 (diff) | |
download | linux-3.10-be783a47214afc5a0aea9dafcbd9f1535ba05e94.tar.gz linux-3.10-be783a47214afc5a0aea9dafcbd9f1535ba05e94.tar.bz2 linux-3.10-be783a47214afc5a0aea9dafcbd9f1535ba05e94.zip |
x86, vdso: Unmap vdso pages
We mapped vdso pages but never unmapped them and the virtual address
is lost after exiting from the function, so unmap vdso pages here.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
LKML-Reference: <20100802004934.GA2505@sli10-desk.sh.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/vdso')
-rw-r--r-- | arch/x86/vdso/vma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/vdso/vma.c b/arch/x86/vdso/vma.c index ac74869b814..80f23ed483e 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: |