Skip to content

Commit

Permalink
mm/vmscan: vm_swappiness = 30 decreases the amount of swapping
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
  • Loading branch information
xanmod committed Dec 14, 2020
1 parent ecae96c commit 2e97c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/vmscan.c
Expand Up @@ -169,7 +169,7 @@ struct scan_control {
/*
* From 0 .. 200. Higher means more swappy.
*/
int vm_swappiness = 60;
int vm_swappiness = 30;

static void set_task_reclaim_state(struct task_struct *task,
struct reclaim_state *rs)
Expand Down

0 comments on commit 2e97c14

Please sign in to comment.