mm: zero-seek shrinkers
[linux-2.6-block.git] / mm / workingset.c
index 7e6ef312cea598c3308a7ad10b26861a40e2af28..cbc13d4dfa795d66931c4300fb36fa770e4827d1 100644 (file)
@@ -534,7 +534,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 = DEFAULT_SEEKS,
+       .seeks = 0, /* ->count reports only fully expendable nodes */
        .flags = SHRINKER_NUMA_AWARE | SHRINKER_MEMCG_AWARE,
 };