Skip to content

Commit

Permalink
mm: Decrease swappiness to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
frap129 authored and Angheloaia Victor committed Mar 26, 2020
1 parent 9fff1fc commit 9948bf1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mm/vmscan.c
Expand Up @@ -151,13 +151,12 @@ struct scan_control {
/*
* From 0 .. 100. Higher means more swappy.
*/
int vm_swappiness = 60;
int vm_swappiness = 8;
/*
* The total number of pages which are beyond the high watermark within all
* zones.
*/
unsigned long vm_total_pages;

static LIST_HEAD(shrinker_list);
static DECLARE_RWSEM(shrinker_rwsem);

Expand Down

0 comments on commit 9948bf1

Please sign in to comment.