You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really old code was still preferring to parse Linux's /proc/mounts to
find the size of hugepages instead of just using statfs() or statvfs()
to get the size directly.
Thanks to @wangshaochuang for noticing that the parsing of
/proc/mounts wasn't even quite right in modern Linux systems, we have
changed the preference in the code to use statfs() / statvfs() if
available (which it almost certainly will be), and only fall back to
parsing /proc/mounts on really, really, really old systems (where the
/proc/mounts parsing will likely be correct).
Signed-off-by: Jeff Squyres <[email protected]>
0 commit comments