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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user