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:
parent
4fa26bf01f
commit
b5eb9af40f
@ -135,7 +135,7 @@ sha256sums=('de8163bb62f822d84f7a3983574ec460060bf013a78ff79cd7c979ff1ec1d7e0'
|
||||
'66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997'
|
||||
'31dc68e84aecfb7d069efb1305049122c65694676be8b955634abcf0675922a2'
|
||||
'd02bf5ca08fd610394b9d3a0c3b176d74af206f897dee826e5cbaec97bb4a4aa'
|
||||
'3651d527b3c85d7fb0e0988bc1ead946d3b5cdd209895f1ddd435cbe6aee1156'
|
||||
'bbf332201423888257c9687bee06916a5dbbac2194f9df5b4126100c40e48d16'
|
||||
'7058e57fd68367b029adc77f2a82928f1433daaf02c8c279cb2d13556c8804d7'
|
||||
'c605f638d74c61861ebdc36ebd4cb8b6475eae2f6273e1ccb2bbb3e10a2ec3fe'
|
||||
'bc69d6e5ee8172b0242c8fa72d13cfe2b8d2b6601468836908a7dfe8b78a3bbb'
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user