diff options
author | Andy Lutomirski <luto@amacapital.net> | 2014-03-13 19:01:26 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-03-13 19:20:09 -0400 |
commit | b0b49f2673f011cad7deeabf7a683b388c351278 (patch) | |
tree | 2a3bfe9ccc51d4b2072381fe4ebd4f3630a38444 /Documentation/kernel-parameters.txt | |
parent | fa389e220254c69ffae0d403eac4146171062d08 (diff) |
x86, vdso: Remove compat vdso support
The compat vDSO is a complicated hack that's needed to maintain
compatibility with a small range of glibc versions.
This removes it and replaces it with a much simpler hack: a config
option to disable the 32-bit vDSO by default.
This also changes the default value of CONFIG_COMPAT_VDSO to n --
users configuring kernels from scratch almost certainly want that
choice.
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/4bb4690899106eb11430b1186d5cc66ca9d1660c.1394751608.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 7116fda7077f..86019750e15f 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -3409,14 +3409,24 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
3409 | of CONFIG_HIGHPTE. | 3409 | of CONFIG_HIGHPTE. |
3410 | 3410 | ||
3411 | vdso= [X86,SH] | 3411 | vdso= [X86,SH] |
3412 | vdso=2: enable compat VDSO (default with COMPAT_VDSO) | 3412 | On X86_32, this is an alias for vdso32=. Otherwise: |
3413 | vdso=1: enable VDSO (default) | 3413 | |
3414 | vdso=1: enable VDSO (the default) | ||
3414 | vdso=0: disable VDSO mapping | 3415 | vdso=0: disable VDSO mapping |
3415 | 3416 | ||
3416 | vdso32= [X86] | 3417 | vdso32= [X86] Control the 32-bit vDSO |
3417 | vdso32=2: enable compat VDSO (default with COMPAT_VDSO) | 3418 | vdso32=1: enable 32-bit VDSO |
3418 | vdso32=1: enable 32-bit VDSO (default) | 3419 | vdso32=0 or vdso32=2: disable 32-bit VDSO |
3419 | vdso32=0: disable 32-bit VDSO mapping | 3420 | |
3421 | See the help text for CONFIG_COMPAT_VDSO for more | ||
3422 | details. If CONFIG_COMPAT_VDSO is set, the default is | ||
3423 | vdso32=0; otherwise, the default is vdso32=1. | ||
3424 | |||
3425 | For compatibility with older kernels, vdso32=2 is an | ||
3426 | alias for vdso32=0. | ||
3427 | |||
3428 | Try vdso32=0 if you encounter an error that says: | ||
3429 | dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed! | ||
3420 | 3430 | ||
3421 | vector= [IA-64,SMP] | 3431 | vector= [IA-64,SMP] |
3422 | vector=percpu: enable percpu vector domain | 3432 | vector=percpu: enable percpu vector domain |