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 3a34034dba
This commit is contained in:
Tk-Glitch
2020-07-30 15:59:50 +02:00
parent 4fa26bf01f
commit b5eb9af40f
2 changed files with 2 additions and 2 deletions

View File

@@ -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;