Currently hugeadm will happily remount hugetlbfs to the same directory
if --create-*-mounts is specified more than once with the same arguments.
This is a problem because the newest mount of a directory will mask the
previous one(s) causing confusion when applications attempt tp share
segements. T
This patch separates the hugetlbfs mount point collection from the
printing to pave the wave for a check in mount_dir to see if a
specified directory is already mounted.
Signed-off-by: Eric B Munson
---
hugeadm.c | 41 +
1 files changed, 29 insertions(+)