Merge pull request #3382 from kszaq/arm_mmap_threshold

kodi: set MALLOC_MMAP_THRESHOLD_=8192 for aarch64 kernels
This commit is contained in:
Christian Hewitt 2019-04-03 08:21:02 +04:00 committed by GitHub
commit 48c24ea4a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ KODI_ARGS=""
echo "KODI_ARGS=\"$KODI_ARGS\"" > /run/libreelec/kodi.conf
if [ "$(uname -m)" = "x86_64" -o "$(uname -m)" = "aarch64" ]; then
if [ "$(uname -m)" = "x86_64" ]; then
echo "MALLOC_MMAP_THRESHOLD_=524288" >> /run/libreelec/kodi.conf
else #arm
echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf