On Tue, May 23, 2023 at 5:48 AM Wilco Dijkstra via Libc-alpha < libc-alpha@sourceware.org> wrote: > > However even switching off THP for all small stacks (eg. default size or > smaller) > would avoid the random use of THP without needing to set the tunable. > > Cheers, > Wilco Didn't found the exact message to reply.. but this one is close enough. MAP_STACK implies no transparent hugepages since linux kernel commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c4608d1bf7c6536d1a3d233eb21e50678681564e