Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 30fed7e

Browse files
firelzrdxanmod
authored andcommitted
mm/vmscan: vm.workingset_protection: On by default
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
1 parent 5cd56f6 commit 30fed7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mm/vmscan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ struct scan_control {
191191
#define prefetchw_prev_lru_folio(_folio, _base, _field) do { } while (0)
192192
#endif
193193

194-
bool sysctl_workingset_protection __read_mostly = false;
194+
bool sysctl_workingset_protection __read_mostly = true;
195195
u8 sysctl_anon_min_ratio __read_mostly = CONFIG_ANON_MIN_RATIO;
196196
u8 sysctl_clean_low_ratio __read_mostly = CONFIG_CLEAN_LOW_RATIO;
197197
u8 sysctl_clean_min_ratio __read_mostly = CONFIG_CLEAN_MIN_RATIO;

0 commit comments

Comments
 (0)