mm: default overcommit_ratio to 100

Signed-off-by: Nahuel Gómez <nahuelgomez329@gmail.com>
This commit is contained in:
Nahuel Gómez 2024-11-13 13:23:55 -03:00 committed by Ksawlii
parent bea7ef974b
commit d3fdbe7c8a

View file

@ -845,7 +845,7 @@ int __page_mapcount(struct page *page)
EXPORT_SYMBOL_GPL(__page_mapcount); EXPORT_SYMBOL_GPL(__page_mapcount);
int sysctl_overcommit_memory __read_mostly = OVERCOMMIT_GUESS; int sysctl_overcommit_memory __read_mostly = OVERCOMMIT_GUESS;
int sysctl_overcommit_ratio __read_mostly = 50; int sysctl_overcommit_ratio __read_mostly = 100;
unsigned long sysctl_overcommit_kbytes __read_mostly; unsigned long sysctl_overcommit_kbytes __read_mostly;
int sysctl_max_map_count __read_mostly = DEFAULT_MAX_MAP_COUNT; int sysctl_max_map_count __read_mostly = DEFAULT_MAX_MAP_COUNT;
unsigned long sysctl_user_reserve_kbytes __read_mostly = 1UL << 17; /* 128MB */ unsigned long sysctl_user_reserve_kbytes __read_mostly = 1UL << 17; /* 128MB */