./hugeelfexec
Usage: ./hugeelfexec /path/to/bin args-for-bin
memfd_create
(w/oMFD_HUGETLB
, since it requires hugetlbfs setup)madvise(MADV_HUGEPAGE)
fexecat
One of the following:
echo advise > /sys/kernel/mm/transparent_hugepage/shmem_enabled
echo always > /sys/kernel/mm/transparent_hugepage/shmem_enabled
echo within_size > /sys/kernel/mm/transparent_hugepage/shmem_enabled