Function nix::sys::prctl::set_thp_disable

source ·
pub fn set_thp_disable(flag: bool) -> Result<()>
Available on crate feature process only.
Expand description

Set the state of the “THP disable” flag for the calling thread. Setting this disables transparent huge pages.