Not a solution to your valgrind problem, but have you seen libhugetlbfs? Lots of handy features like HUGETLB_MORECORE and hugeadm. Worth a look if you use huge pages on linux.
When I use huge pages, I would never want any of them to swap out. My guess is that your use case is not well represented. Many people using huge pages can afford to dedicate tons of memory to the target application.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.