Skip to main content

thp_sysfs_always

Function thp_sysfs_always 

Source
pub fn thp_sysfs_always() -> Option<bool>
Expand description

Kernel THP mode: Some(true) when /sys/kernel/mm/transparent_hugepage/enabled is [always], Some(false) for [madvise]/[never], None when unreadable (non-Linux, no sysfs).