Avoid reading /sys/kernel/mm/transparent_hugepage/?

H.J. Lu hjl.tools@gmail.com
Fri Apr 10 05:50:35 GMT 2026


To enable THP segment load, ld.so opens and reads 2 files under
/sys/kernel/mm/transparent_hugepage/.   This requires mounting
/sys and is expensive.   Is it possible to put such info in vDSO?

-- 
H.J.


More information about the Libc-alpha mailing list