treewide: remove jemalloc
Jemalloc is now history. Goodnight, sweet prince. ref: https://jasone.github.io/2025/06/12/jemalloc-postmortem/
This commit is contained in:
@@ -54,7 +54,6 @@ RUN apt-env.sh apt-get update ; \
|
|||||||
jdupes \
|
jdupes \
|
||||||
jq \
|
jq \
|
||||||
libcap2-bin \
|
libcap2-bin \
|
||||||
libjemalloc2 \
|
|
||||||
logrotate \
|
logrotate \
|
||||||
netbase \
|
netbase \
|
||||||
netcat-openbsd \
|
netcat-openbsd \
|
||||||
|
@@ -25,11 +25,6 @@ iep_preserve_env() {
|
|||||||
unset __IEP_MALLOC_ARENA_MAX
|
unset __IEP_MALLOC_ARENA_MAX
|
||||||
__IEP_MALLOC_ARENA_MAX="${MALLOC_ARENA_MAX:-4}"
|
__IEP_MALLOC_ARENA_MAX="${MALLOC_ARENA_MAX:-4}"
|
||||||
export MALLOC_ARENA_MAX=2
|
export MALLOC_ARENA_MAX=2
|
||||||
|
|
||||||
## jemalloc: preserve MALLOC_CONF
|
|
||||||
unset __IEP_MALLOC_CONF
|
|
||||||
__IEP_MALLOC_CONF="${MALLOC_CONF:-}"
|
|
||||||
unset MALLOC_CONF
|
|
||||||
}
|
}
|
||||||
|
|
||||||
iep_restore_env() {
|
iep_restore_env() {
|
||||||
@@ -52,12 +47,6 @@ iep_restore_env() {
|
|||||||
export MALLOC_ARENA_MAX="${__IEP_MALLOC_ARENA_MAX}"
|
export MALLOC_ARENA_MAX="${__IEP_MALLOC_ARENA_MAX}"
|
||||||
fi
|
fi
|
||||||
unset __IEP_MALLOC_ARENA_MAX
|
unset __IEP_MALLOC_ARENA_MAX
|
||||||
|
|
||||||
## jemalloc: restore MALLOC_CONF
|
|
||||||
if [ -n "${__IEP_MALLOC_CONF:-}" ] ; then
|
|
||||||
export MALLOC_CONF="${__IEP_MALLOC_CONF}"
|
|
||||||
fi
|
|
||||||
unset __IEP_MALLOC_CONF
|
|
||||||
}
|
}
|
||||||
|
|
||||||
iep_flush_volume() {
|
iep_flush_volume() {
|
||||||
|
@@ -34,8 +34,6 @@ J2CFG_PRESERVE_ENVS = [
|
|||||||
# glibc
|
# glibc
|
||||||
'GLIBC_TUNABLES',
|
'GLIBC_TUNABLES',
|
||||||
'MALLOC_ARENA_MAX',
|
'MALLOC_ARENA_MAX',
|
||||||
# jemalloc
|
|
||||||
'MALLOC_CONF',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
J2CFG_PASSTHROUGH_ENVS = [
|
J2CFG_PASSTHROUGH_ENVS = [
|
||||||
|
Reference in New Issue
Block a user