[Devel] [PATCH RHEL7 COMMIT] tcache: Increase seeks more
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Nov 13 11:30:02 MSK 2017
The commit is pushed to "branch-rh7-3.10.0-693.1.1.vz7.37.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.1.1.vz7.37.26
------>
commit 8e1f4aef14d0149513cd079a4811e4b5c52391d6
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date: Mon Nov 13 11:30:02 2017 +0300
tcache: Increase seeks more
One node from the test plan showed, number of seeks still is not enough.
Increase it again twice more to fit new formula introduced in commit
e008b95a28ef ("ms/mm: use sc->priority for slab shrink targets").
https://jira.sw.ru/browse/PSBM-77015
Fixes: d6cdd02 ("tswap, tcache: Increase shrinkers seeks")
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
mm/tcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/tcache.c b/mm/tcache.c
index 8b893e6..b5157d9 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,
};
More information about the Devel
mailing list