mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
malloc: Correct the documentation of the top_pad default
DEFAULT_TOP_PAD is defined as 131072 in sysdeps/generic/malloc-machine.h.
This commit is contained in:
parent
3698f5a9dd
commit
6c93af6b45
@ -42,6 +42,7 @@ glibc {
|
|||||||
type: SIZE_T
|
type: SIZE_T
|
||||||
env_alias: MALLOC_TOP_PAD_
|
env_alias: MALLOC_TOP_PAD_
|
||||||
security_level: SXID_IGNORE
|
security_level: SXID_IGNORE
|
||||||
|
default: 131072
|
||||||
}
|
}
|
||||||
perturb {
|
perturb {
|
||||||
type: INT_32
|
type: INT_32
|
||||||
|
@ -9,7 +9,7 @@ glibc.malloc.perturb: 0 (min: 0, max: 255)
|
|||||||
glibc.malloc.tcache_count: 0x0 (min: 0x0, max: 0x[f]+)
|
glibc.malloc.tcache_count: 0x0 (min: 0x0, max: 0x[f]+)
|
||||||
glibc.malloc.tcache_max: 0x0 (min: 0x0, max: 0x[f]+)
|
glibc.malloc.tcache_max: 0x0 (min: 0x0, max: 0x[f]+)
|
||||||
glibc.malloc.tcache_unsorted_limit: 0x0 (min: 0x0, max: 0x[f]+)
|
glibc.malloc.tcache_unsorted_limit: 0x0 (min: 0x0, max: 0x[f]+)
|
||||||
glibc.malloc.top_pad: 0x0 (min: 0x0, max: 0x[f]+)
|
glibc.malloc.top_pad: 0x20000 (min: 0x0, max: 0x[f]+)
|
||||||
glibc.malloc.trim_threshold: 0x0 (min: 0x0, max: 0x[f]+)
|
glibc.malloc.trim_threshold: 0x0 (min: 0x0, max: 0x[f]+)
|
||||||
glibc.rtld.dynamic_sort: 2 (min: 1, max: 2)
|
glibc.rtld.dynamic_sort: 2 (min: 1, max: 2)
|
||||||
glibc.rtld.nns: 0x4 (min: 0x1, max: 0x10)
|
glibc.rtld.nns: 0x4 (min: 0x1, max: 0x10)
|
||||||
|
@ -143,7 +143,7 @@ number of bytes to retain when shrinking any of the arenas. This provides the
|
|||||||
necessary hysteresis in heap size such that excessive amounts of system calls
|
necessary hysteresis in heap size such that excessive amounts of system calls
|
||||||
can be avoided.
|
can be avoided.
|
||||||
|
|
||||||
The default value of this tunable is @samp{0}.
|
The default value of this tunable is @samp{131072} (128 KB).
|
||||||
@end deftp
|
@end deftp
|
||||||
|
|
||||||
@deftp Tunable glibc.malloc.perturb
|
@deftp Tunable glibc.malloc.perturb
|
||||||
|
Loading…
Reference in New Issue
Block a user