pub fn detect_cgroup_psi() -> boolExpand description
Detect whether cgroup-scoped PSI pressure files are available.
Returns true if /sys/fs/cgroup/io.pressure exists and is readable,
indicating cgroup2 with PSI enabled. The cgroup PSI files use the same
format as /proc/pressure/* but are scoped to the process’s cgroup.