]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/jemalloc/include/jemalloc/internal/base_inlines.h
Update jemalloc to version 5.1.0.
[FreeBSD/FreeBSD.git] / contrib / jemalloc / include / jemalloc / internal / base_inlines.h
1 #ifndef JEMALLOC_INTERNAL_BASE_INLINES_H
2 #define JEMALLOC_INTERNAL_BASE_INLINES_H
3
4 static inline unsigned
5 base_ind_get(const base_t *base) {
6         return base->ind;
7 }
8
9 static inline bool
10 metadata_thp_enabled(void) {
11         return (opt_metadata_thp != metadata_thp_disabled);
12 }
13 #endif /* JEMALLOC_INTERNAL_BASE_INLINES_H */