tcache: Increase seeks more

Submitted by Kirill Tkhai on Nov. 10, 2017, 1:20 p.m.

Details

Message ID 151032005196.31721.3837840082142598084.stgit@localhost.localdomain
State New
Series "tcache: Increase seeks more"
Headers show

Commit Message

Kirill Tkhai Nov. 10, 2017, 1:20 p.m.
One node from the test plan showed, number of seeks
still is not enough. Increase it again twice more
to fit new formula introduces in commit e008b95a28ef
"ms/mm: use sc->priority for slab shrink targets".

https://jira.sw.ru/browse/PSBM-77015

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
 mm/tcache.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/mm/tcache.c b/mm/tcache.c
index 8b893e6b520..b5157d9861d 100644
--- a/mm/tcache.c
+++ b/mm/tcache.c
@@ -1202,7 +1202,7 @@  static unsigned long tcache_shrink_scan(struct shrinker *shrink,
 struct shrinker tcache_shrinker = {
 	.count_objects		= tcache_shrink_count,
 	.scan_objects		= tcache_shrink_scan,
-	.seeks			= 4,
+	.seeks			= 8,
 	.batch			= TCACHE_SCAN_BATCH,
 	.flags			= SHRINKER_NUMA_AWARE,
 };