[PATCH] D140425: [BOLT] Fix hugify on new Linux kernels

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 11:36:12 PST 2023


maksfb added a comment.

In D140425#4012275 <https://reviews.llvm.org/D140425#4012275>, @yavtuk wrote:

> @maksfb Can you use __prctl(41 /* PR_SET_THP_DISABLE */, 0, 0, 0, 0); call instead of munlock?

Could not get huge pages on my system with the above.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140425/new/

https://reviews.llvm.org/D140425



More information about the llvm-commits mailing list