]> Git Repo - linux.git/commit
x86/vdso: Emit a GNU hash
authorAndy Lutomirski <[email protected]>
Thu, 6 Aug 2015 21:45:45 +0000 (14:45 -0700)
committerIngo Molnar <[email protected]>
Sat, 8 Aug 2015 08:42:07 +0000 (10:42 +0200)
commit6b7e26547fad7ace3dcb27a5babd2317fb9d1e12
tree786292a1d45d601de98d1dc553bd01427778b5fb
parent88cd622f9299c4c9e61e978bb9ef9d7599769ed0
x86/vdso: Emit a GNU hash

Some dynamic loaders may be slightly faster if a GNU hash is
available.  Strangely, this seems to have no effect at all on
the vdso size.

This is unlikely to have any measurable effect on the time it
takes to resolve vdso symbols (since there are so few of them).
In some contexts, it can be a win for a different reason: if
every DSO has a GNU hash section, then libc can avoid
calculating SysV hashes at all.  Both musl and glibc appear to
have this optimization.

It's plausible that this breaks some ancient glibc version.  If
so, then, depending on what glibc versions break, we could
either require COMPAT_VDSO for them or consider reverting.

Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Isaac Dunham <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Nathan Lynch <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected] <[email protected]>
Link: http://lkml.kernel.org/r/fd56cc057a2d62ab31c56a48d04fccb435b3fd4f.1438897382.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/entry/vdso/Makefile
This page took 0.054887 seconds and 4 git commands to generate.