From 5a99ff6f3d3b406da6975f611e561e71f3f483a8 Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Mon, 29 Apr 2019 15:46:23 +0530 Subject: [PATCH] mm: workingset: remove zero-seek setting for shadow node shrinker zero-seek setting for shadow nodes will cause aggressive reclaim thus removing more nodes from the working_set this would effect memstall calculation of PSI, so keep the default seek settings. Change-Id: Ib87ad5a07ef4c8ce42d078b99e1c2e5944e1899d Signed-off-by: Vijayanand Jitta --- mm/workingset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/workingset.c b/mm/workingset.c index c963831d354f..b51d8eace8a0 100644 --- a/mm/workingset.c +++ b/mm/workingset.c @@ -523,7 +523,7 @@ static unsigned long scan_shadow_nodes(struct shrinker *shrinker, static struct shrinker workingset_shadow_shrinker = { .count_objects = count_shadow_nodes, .scan_objects = scan_shadow_nodes, - .seeks = 0, /* ->count reports only fully expendable nodes */ + .seeks = DEFAULT_SEEKS, .flags = SHRINKER_NUMA_AWARE | SHRINKER_MEMCG_AWARE, };