aboutsummaryrefslogtreecommitdiff
path: root/libhugetlbfs_privutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhugetlbfs_privutils.h')
-rw-r--r--libhugetlbfs_privutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhugetlbfs_privutils.h b/libhugetlbfs_privutils.h
index aaa638f..149e42f 100644
--- a/libhugetlbfs_privutils.h
+++ b/libhugetlbfs_privutils.h
@@ -80,6 +80,9 @@ enum {
/* Whether use of MAP_NORESERVE is safe or can result in OOM */
HUGETLB_FEATURE_SAFE_NORESERVE,
+ /* If the kernel has the ability to mmap(MAP_HUGETLB)*/
+ HUGETLB_FEATURE_MAP_HUGETLB,
+
HUGETLB_FEATURE_NR,
};
#define hugetlbfs_test_feature __pu_hugetlbfs_test_feature