mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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 <vjitta@codeaurora.org>
This commit is contained in:
parent
b38b5109bf
commit
5a99ff6f3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue