You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
312 B
14 lines
312 B
#ifndef JEMALLOC_INTERNAL_BASE_INLINES_H
|
|
#define JEMALLOC_INTERNAL_BASE_INLINES_H
|
|
|
|
static inline unsigned
|
|
base_ind_get(const base_t *base) {
|
|
return base->ind;
|
|
}
|
|
|
|
static inline bool
|
|
metadata_thp_enabled(void) {
|
|
return (opt_metadata_thp != metadata_thp_disabled);
|
|
}
|
|
#endif /* JEMALLOC_INTERNAL_BASE_INLINES_H */
|