mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
jemalloc: update provisioned headers for linux riscv64
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
bc5aeb4dcf
commit
bd5137db15
@ -13,12 +13,14 @@
|
|||||||
* Define overrides for non-standard allocator-related functions if they are
|
* Define overrides for non-standard allocator-related functions if they are
|
||||||
* present on the system.
|
* present on the system.
|
||||||
*/
|
*/
|
||||||
#define JEMALLOC_OVERRIDE___LIBC_CALLOC
|
#if !defined(USE_MUSL)
|
||||||
#define JEMALLOC_OVERRIDE___LIBC_FREE
|
#define JEMALLOC_OVERRIDE___LIBC_CALLOC
|
||||||
#define JEMALLOC_OVERRIDE___LIBC_MALLOC
|
#define JEMALLOC_OVERRIDE___LIBC_FREE
|
||||||
#define JEMALLOC_OVERRIDE___LIBC_MEMALIGN
|
#define JEMALLOC_OVERRIDE___LIBC_MALLOC
|
||||||
#define JEMALLOC_OVERRIDE___LIBC_REALLOC
|
#define JEMALLOC_OVERRIDE___LIBC_MEMALIGN
|
||||||
#define JEMALLOC_OVERRIDE___LIBC_VALLOC
|
#define JEMALLOC_OVERRIDE___LIBC_REALLOC
|
||||||
|
#define JEMALLOC_OVERRIDE___LIBC_VALLOC
|
||||||
|
#endif
|
||||||
/* #undef JEMALLOC_OVERRIDE___POSIX_MEMALIGN */
|
/* #undef JEMALLOC_OVERRIDE___POSIX_MEMALIGN */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -45,17 +47,17 @@
|
|||||||
#define LG_VADDR 48
|
#define LG_VADDR 48
|
||||||
|
|
||||||
/* Defined if C11 atomics are available. */
|
/* Defined if C11 atomics are available. */
|
||||||
#define JEMALLOC_C11_ATOMICS 1
|
#define JEMALLOC_C11_ATOMICS
|
||||||
|
|
||||||
/* Defined if GCC __atomic atomics are available. */
|
/* Defined if GCC __atomic atomics are available. */
|
||||||
#define JEMALLOC_GCC_ATOMIC_ATOMICS 1
|
#define JEMALLOC_GCC_ATOMIC_ATOMICS
|
||||||
/* and the 8-bit variant support. */
|
/* and the 8-bit variant support. */
|
||||||
#define JEMALLOC_GCC_U8_ATOMIC_ATOMICS 1
|
#define JEMALLOC_GCC_U8_ATOMIC_ATOMICS
|
||||||
|
|
||||||
/* Defined if GCC __sync atomics are available. */
|
/* Defined if GCC __sync atomics are available. */
|
||||||
#define JEMALLOC_GCC_SYNC_ATOMICS 1
|
#define JEMALLOC_GCC_SYNC_ATOMICS
|
||||||
/* and the 8-bit variant support. */
|
/* and the 8-bit variant support. */
|
||||||
#define JEMALLOC_GCC_U8_SYNC_ATOMICS 1
|
#define JEMALLOC_GCC_U8_SYNC_ATOMICS
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defined if __builtin_clz() and __builtin_clzl() are available.
|
* Defined if __builtin_clz() and __builtin_clzl() are available.
|
||||||
@ -73,7 +75,7 @@
|
|||||||
/*
|
/*
|
||||||
* Defined if secure_getenv(3) is available.
|
* Defined if secure_getenv(3) is available.
|
||||||
*/
|
*/
|
||||||
// #define JEMALLOC_HAVE_SECURE_GETENV
|
/* #undef JEMALLOC_HAVE_SECURE_GETENV */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defined if issetugid(2) is available.
|
* Defined if issetugid(2) is available.
|
||||||
@ -86,21 +88,32 @@
|
|||||||
/* Defined if pthread_setname_np(3) is available. */
|
/* Defined if pthread_setname_np(3) is available. */
|
||||||
#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
|
#define JEMALLOC_HAVE_PTHREAD_SETNAME_NP
|
||||||
|
|
||||||
|
/* Defined if pthread_getname_np(3) is available. */
|
||||||
|
#define JEMALLOC_HAVE_PTHREAD_GETNAME_NP
|
||||||
|
|
||||||
|
/* Defined if pthread_get_name_np(3) is available. */
|
||||||
|
/* #undef JEMALLOC_HAVE_PTHREAD_GET_NAME_NP */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available.
|
* Defined if clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is available.
|
||||||
*/
|
*/
|
||||||
#define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE 1
|
#define JEMALLOC_HAVE_CLOCK_MONOTONIC_COARSE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defined if clock_gettime(CLOCK_MONOTONIC, ...) is available.
|
* Defined if clock_gettime(CLOCK_MONOTONIC, ...) is available.
|
||||||
*/
|
*/
|
||||||
#define JEMALLOC_HAVE_CLOCK_MONOTONIC 1
|
#define JEMALLOC_HAVE_CLOCK_MONOTONIC
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defined if mach_absolute_time() is available.
|
* Defined if mach_absolute_time() is available.
|
||||||
*/
|
*/
|
||||||
/* #undef JEMALLOC_HAVE_MACH_ABSOLUTE_TIME */
|
/* #undef JEMALLOC_HAVE_MACH_ABSOLUTE_TIME */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Defined if clock_gettime(CLOCK_REALTIME, ...) is available.
|
||||||
|
*/
|
||||||
|
#define JEMALLOC_HAVE_CLOCK_REALTIME
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defined if _malloc_thread_cleanup() exists. At least in the case of
|
* Defined if _malloc_thread_cleanup() exists. At least in the case of
|
||||||
* FreeBSD, pthread_key_create() allocates, which if used during malloc
|
* FreeBSD, pthread_key_create() allocates, which if used during malloc
|
||||||
@ -163,6 +176,9 @@
|
|||||||
/* Support utrace(2)-based tracing. */
|
/* Support utrace(2)-based tracing. */
|
||||||
/* #undef JEMALLOC_UTRACE */
|
/* #undef JEMALLOC_UTRACE */
|
||||||
|
|
||||||
|
/* Support utrace(2)-based tracing (label based signature). */
|
||||||
|
/* #undef JEMALLOC_UTRACE_LABEL */
|
||||||
|
|
||||||
/* Support optional abort() on OOM. */
|
/* Support optional abort() on OOM. */
|
||||||
/* #undef JEMALLOC_XMALLOC */
|
/* #undef JEMALLOC_XMALLOC */
|
||||||
|
|
||||||
@ -178,6 +194,9 @@
|
|||||||
/* One page is 2^LG_PAGE bytes. */
|
/* One page is 2^LG_PAGE bytes. */
|
||||||
#define LG_PAGE 16
|
#define LG_PAGE 16
|
||||||
|
|
||||||
|
/* Maximum number of regions in a slab. */
|
||||||
|
/* #undef CONFIG_LG_SLAB_MAXREGS */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* One huge page is 2^LG_HUGEPAGE bytes. Note that this is defined even if the
|
* One huge page is 2^LG_HUGEPAGE bytes. Note that this is defined even if the
|
||||||
* system does not explicitly support huge pages; system calls that require
|
* system does not explicitly support huge pages; system calls that require
|
||||||
@ -291,17 +310,46 @@
|
|||||||
*/
|
*/
|
||||||
#define JEMALLOC_MADVISE_DONTDUMP
|
#define JEMALLOC_MADVISE_DONTDUMP
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Defined if MADV_[NO]CORE is supported as an argument to madvise.
|
||||||
|
*/
|
||||||
|
/* #undef JEMALLOC_MADVISE_NOCORE */
|
||||||
|
|
||||||
|
/* Defined if mprotect(2) is available. */
|
||||||
|
#define JEMALLOC_HAVE_MPROTECT
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defined if transparent huge pages (THPs) are supported via the
|
* Defined if transparent huge pages (THPs) are supported via the
|
||||||
* MADV_[NO]HUGEPAGE arguments to madvise(2), and THP support is enabled.
|
* MADV_[NO]HUGEPAGE arguments to madvise(2), and THP support is enabled.
|
||||||
*/
|
*/
|
||||||
/* #undef JEMALLOC_THP */
|
/* #undef JEMALLOC_THP */
|
||||||
|
|
||||||
|
/* Defined if posix_madvise is available. */
|
||||||
|
/* #undef JEMALLOC_HAVE_POSIX_MADVISE */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Method for purging unused pages using posix_madvise.
|
||||||
|
*
|
||||||
|
* posix_madvise(..., POSIX_MADV_DONTNEED)
|
||||||
|
*/
|
||||||
|
/* #undef JEMALLOC_PURGE_POSIX_MADVISE_DONTNEED */
|
||||||
|
/* #undef JEMALLOC_PURGE_POSIX_MADVISE_DONTNEED_ZEROS */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Defined if memcntl page admin call is supported
|
||||||
|
*/
|
||||||
|
/* #undef JEMALLOC_HAVE_MEMCNTL */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Defined if malloc_size is supported
|
||||||
|
*/
|
||||||
|
/* #undef JEMALLOC_HAVE_MALLOC_SIZE */
|
||||||
|
|
||||||
/* Define if operating system has alloca.h header. */
|
/* Define if operating system has alloca.h header. */
|
||||||
#define JEMALLOC_HAS_ALLOCA_H 1
|
#define JEMALLOC_HAS_ALLOCA_H
|
||||||
|
|
||||||
/* C99 restrict keyword supported. */
|
/* C99 restrict keyword supported. */
|
||||||
#define JEMALLOC_HAS_RESTRICT 1
|
#define JEMALLOC_HAS_RESTRICT
|
||||||
|
|
||||||
/* For use by hash code. */
|
/* For use by hash code. */
|
||||||
/* #undef JEMALLOC_BIG_ENDIAN */
|
/* #undef JEMALLOC_BIG_ENDIAN */
|
||||||
@ -342,7 +390,7 @@
|
|||||||
/*
|
/*
|
||||||
* If defined, all the features necessary for background threads are present.
|
* If defined, all the features necessary for background threads are present.
|
||||||
*/
|
*/
|
||||||
#define JEMALLOC_BACKGROUND_THREAD 1
|
#define JEMALLOC_BACKGROUND_THREAD
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If defined, jemalloc symbols are not exported (doesn't work when
|
* If defined, jemalloc symbols are not exported (doesn't work when
|
||||||
@ -354,7 +402,7 @@
|
|||||||
#define JEMALLOC_CONFIG_MALLOC_CONF "@JEMALLOC_CONFIG_MALLOC_CONF@"
|
#define JEMALLOC_CONFIG_MALLOC_CONF "@JEMALLOC_CONFIG_MALLOC_CONF@"
|
||||||
|
|
||||||
/* If defined, jemalloc takes the malloc/free/etc. symbol names. */
|
/* If defined, jemalloc takes the malloc/free/etc. symbol names. */
|
||||||
#define JEMALLOC_IS_MALLOC 1
|
#define JEMALLOC_IS_MALLOC
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Defined if strerror_r returns char * if _GNU_SOURCE is defined.
|
* Defined if strerror_r returns char * if _GNU_SOURCE is defined.
|
||||||
@ -364,4 +412,16 @@
|
|||||||
/* Performs additional safety checks when defined. */
|
/* Performs additional safety checks when defined. */
|
||||||
/* #undef JEMALLOC_OPT_SAFETY_CHECKS */
|
/* #undef JEMALLOC_OPT_SAFETY_CHECKS */
|
||||||
|
|
||||||
|
/* Is C++ support being built? */
|
||||||
|
/* #undef JEMALLOC_ENABLE_CXX */
|
||||||
|
|
||||||
|
/* Performs additional size checks when defined. */
|
||||||
|
/* #undef JEMALLOC_OPT_SIZE_CHECKS */
|
||||||
|
|
||||||
|
/* Allows sampled junk and stash for checking use-after-free when defined. */
|
||||||
|
/* #undef JEMALLOC_UAF_DETECTION */
|
||||||
|
|
||||||
|
/* Darwin VM_MAKE_TAG support */
|
||||||
|
/* #undef JEMALLOC_HAVE_VM_MAKE_TAG */
|
||||||
|
|
||||||
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */
|
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user