Function set_thp_disable

fn set_thp_disable(flag: bool) -> Result<()>

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