diff options
author | Cupertino Miranda <cupertino.miranda@oracle.com> | 2023-04-14 16:12:20 +0100 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-04-20 13:54:24 -0300 |
commit | b630be0922dbaaa50eb174a7740f0d3fb88602da (patch) | |
tree | fa0e6bd1ef8115117c6a2090b2dd5248269609fb /NEWS | |
parent | 0f61cd4b9c5175c128311769df932c8d7694d6b6 (diff) | |
download | glibc-b630be0922dbaaa50eb174a7740f0d3fb88602da.zip glibc-b630be0922dbaaa50eb174a7740f0d3fb88602da.tar.gz glibc-b630be0922dbaaa50eb174a7740f0d3fb88602da.tar.bz2 |
Created tunable to force small pages on stack allocation.
Created tunable glibc.pthread.stack_hugetlb to control when hugepages
can be used for stack allocation.
In case THP are enabled and glibc.pthread.stack_hugetlb is set to
0, glibc will madvise the kernel not to use allow hugepages for stack
allocations.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,9 @@ Major new features: * PRIb* and PRIB* macros from C2X have been added to <inttypes.h>. +* A new tunable, glibc.pthread.stack_hugetlb, can be used to disable + Transparent Huge Pages (THP) in stack allocation at pthread_create. + Deprecated and removed features, and other changes affecting compatibility: * In the Linux kernel for the hppa/parisc architecture some of the |