aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/workingset.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/workingset.c b/mm/workingset.c
index 40ee02c83978..ed8151180899 100644
--- a/mm/workingset.c
+++ b/mm/workingset.c
@@ -366,10 +366,7 @@ static unsigned long count_shadow_nodes(struct shrinker *shrinker,
366 unsigned long nodes; 366 unsigned long nodes;
367 unsigned long cache; 367 unsigned long cache;
368 368
369 /* list_lru lock nests inside the IRQ-safe i_pages lock */
370 local_irq_disable();
371 nodes = list_lru_shrink_count(&shadow_nodes, sc); 369 nodes = list_lru_shrink_count(&shadow_nodes, sc);
372 local_irq_enable();
373 370
374 /* 371 /*
375 * Approximate a reasonable limit for the radix tree nodes 372 * Approximate a reasonable limit for the radix tree nodes