Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e8ec4ea authored by Vijayanand Jitta's avatar Vijayanand Jitta
Browse files

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: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent 0f8b75a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -524,7 +524,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,
};