]> git.baikalelectronics.ru Git - kernel.git/commit
x86-64, vdso: Do not allocate memory for the vDSO
authorAndy Lutomirski <luto@mit.edu>
Thu, 21 Jul 2011 19:47:10 +0000 (15:47 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 21 Jul 2011 20:41:53 +0000 (13:41 -0700)
commit7d79b81fdb6d49dd6f0151d8474a891c1c90b66b
treee28352a5883b5684466ea44f3caebe99c088eaf7
parentfc725f2902b6c1015fa97bec7b4e67c61af2612e
x86-64, vdso: Do not allocate memory for the vDSO

We can map the vDSO straight from kernel data, saving a few page
allocations.  As an added bonus, the deleted code contained a memory
leak.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
Link: http://lkml.kernel.org/r/2c4ed5c2c2e93603790229e0c3403ae506ccc0cb.1311277573.git.luto@mit.edu
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/vdso/vdso.S
arch/x86/vdso/vma.c