pub fn smt_enabled() -> Option<bool>Expand description
Whether SMT is active on the host, read from the kernel’s
/sys/devices/system/cpu/smt/active interface. The knob is absent on
systems without SMT support; a missing or unreadable knob yields
None, so the caller can omit the SMT annotation from the startup
banner rather than guessing.