projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Support for hugetlb backed shared memory
[fio.git]
/
os.h
diff --git
a/os.h
b/os.h
index b44d34c6b5ef07dea4c5c7fe2c05be09c5abbe9e..b5f43e593e6251efb179dc2dd22ca1ecdb59e3e3 100644
(file)
--- a/
os.h
+++ b/
os.h
@@
-47,4
+47,11
@@
#define OS_O_DIRECT O_DIRECT
#endif
+#ifndef FIO_HAVE_HUGETLB
+#define SHM_HUGETLB 0
+#define FIO_HUGE_PAGE 0
+#else
+#define FIO_HUGE_PAGE (2048 * 1024)
+#endif
+
#endif