Skip to content

Commit

Permalink
mm/vmscan: vm.workingset_protection: On by default
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
  • Loading branch information
firelzrd authored and xanmod committed Apr 10, 2024
1 parent 365b514 commit b953134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/vmscan.c
Expand Up @@ -192,7 +192,7 @@ struct scan_control {
#define prefetchw_prev_lru_folio(_folio, _base, _field) do { } while (0)
#endif

bool sysctl_workingset_protection __read_mostly = false;
bool sysctl_workingset_protection __read_mostly = true;
u8 sysctl_anon_min_ratio __read_mostly = CONFIG_ANON_MIN_RATIO;
u8 sysctl_clean_low_ratio __read_mostly = CONFIG_CLEAN_LOW_RATIO;
u8 sysctl_clean_min_ratio __read_mostly = CONFIG_CLEAN_MIN_RATIO;
Expand Down

0 comments on commit b953134

Please sign in to comment.