From b5eb9af40feacf108394a52e01f14c5f884331fb Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Thu, 30 Jul 2020 15:59:50 +0200 Subject: [PATCH] linux57-tkg: bump DEFAULT_MAX_MAP_COUNT. Some games such as Detroit: Become Human tend to be very crash prone with lower values. This change is following https://github.com/Frogging-Family/linux-tkg/commit/3a34034dba5efe91bcec491efe8c66e8087f509b --- linux57-tkg/PKGBUILD | 2 +- linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux57-tkg/PKGBUILD b/linux57-tkg/PKGBUILD index 4fbbb59..5d04359 100644 --- a/linux57-tkg/PKGBUILD +++ b/linux57-tkg/PKGBUILD @@ -135,7 +135,7 @@ sha256sums=('de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0' '66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997' '31dc68e84aecfb7d069efb1305049122c65694676be8b955634abcf0675922a2' 'd02bf5ca08fd610394b9d3a0c3b176d74af206f897dee826e5cbaec97bb4a4aa' - '3651d527b3c85d7fb0e0988bc1ead946d3b5cdd209895f1ddd435cbe6aee1156' + 'bbf332201423888257c9687bee06916a5dbbac2194f9df5b4126100c40e48d16' '7058e57fd68367b029adc77f2a82928f1433daaf02c8c279cb2d13556c8804d7' 'c605f638d74c61861ebdc36ebd4cb8b6475eae2f6273e1ccb2bbb3e10a2ec3fe' 'bc69d6e5ee8172b0242c8fa72d13cfe2b8d2b6601468836908a7dfe8b78a3bbb' diff --git a/linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch b/linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch index f55575f..0cd2ef0 100644 --- a/linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch +++ b/linux57-tkg/linux57-tkg-patches/0003-glitched-base.patch @@ -400,7 +400,7 @@ index 80bb6408f..6c8b55cd1 100644 */ -#define MAPCOUNT_ELF_CORE_MARGIN (5) -#define DEFAULT_MAX_MAP_COUNT (USHRT_MAX - MAPCOUNT_ELF_CORE_MARGIN) -+#define DEFAULT_MAX_MAP_COUNT (262144) ++#define DEFAULT_MAX_MAP_COUNT (524288) extern int sysctl_max_map_count;