]> git.ipfire.org Git - thirdparty/glibc.git/commit - NEWS
Created tunable to force small pages on stack allocation.
authorCupertino Miranda <cupertino.miranda@oracle.com>
Fri, 14 Apr 2023 15:12:20 +0000 (16:12 +0100)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 20 Apr 2023 16:54:24 +0000 (13:54 -0300)
commitb630be0922dbaaa50eb174a7740f0d3fb88602da
treefa0e6bd1ef8115117c6a2090b2dd5248269609fb
parent0f61cd4b9c5175c128311769df932c8d7694d6b6
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>
NEWS
manual/tunables.texi
nptl/allocatestack.c
nptl/nptl-stack.c
nptl/nptl-stack.h
nptl/pthread_mutex_conf.c
sysdeps/nptl/dl-tunables.list