aboutsummaryrefslogtreecommitdiff
path: root/nptl/nptl-stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/nptl-stack.h')
-rw-r--r--nptl/nptl-stack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/nptl-stack.h b/nptl/nptl-stack.h
index 34f8bbb15e..cf90b27c2b 100644
--- a/nptl/nptl-stack.h
+++ b/nptl/nptl-stack.h
@@ -27,6 +27,9 @@
/* Maximum size of the cache, in bytes. 40 MiB by default. */
extern size_t __nptl_stack_cache_maxsize attribute_hidden;
+/* Should allow stacks to use hugetlb. (1) is default. */
+extern int32_t __nptl_stack_hugetlb;
+
/* Check whether the stack is still used or not. */
static inline bool
__nptl_stack_in_use (struct pthread *pd)