summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2017-06-02 15:05:03 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2017-06-02 15:05:03 -0400
commit1fa5d3791a8d64257b5e5c0d5b667d39f3324456 (patch)
tree586035f2295f13719b2cc31526d83b782a9a03cf
parent643d32df5715cdabcd80fb41c57b2980b47a775a (diff)
downloadlongterm-queue-4.8-1fa5d3791a8d64257b5e5c0d5b667d39f3324456.tar.gz
mm: shadow_nodes --> workingset_shadow_nodes
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--queue/mm-workingset-fix-premature-shadow-node-shrinking-wi.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/queue/mm-workingset-fix-premature-shadow-node-shrinking-wi.patch b/queue/mm-workingset-fix-premature-shadow-node-shrinking-wi.patch
index 0f9afcf..a3a3866 100644
--- a/queue/mm-workingset-fix-premature-shadow-node-shrinking-wi.patch
+++ b/queue/mm-workingset-fix-premature-shadow-node-shrinking-wi.patch
@@ -1,4 +1,4 @@
-From 0cefabdaf757a6455d75f00cb76874e62703ed18 Mon Sep 17 00:00:00 2001
+From 380fb7dca6bd1931b218e7b92983e4cbb7f5fe1b Mon Sep 17 00:00:00 2001
From: Johannes Weiner <hannes@cmpxchg.org>
Date: Fri, 31 Mar 2017 15:11:52 -0700
Subject: [PATCH] mm: workingset: fix premature shadow node shrinking with
@@ -28,15 +28,15 @@ Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
diff --git a/mm/workingset.c b/mm/workingset.c
-index ac839fca0e76..eda05c71fa49 100644
+index fb1f9183d89a..3aebbecaa42f 100644
--- a/mm/workingset.c
+++ b/mm/workingset.c
-@@ -532,7 +532,7 @@ static int __init workingset_init(void)
+@@ -492,7 +492,7 @@ static int __init workingset_init(void)
pr_info("workingset: timestamp_bits=%d max_order=%d bucket_order=%u\n",
timestamp_bits, max_order, bucket_order);
-- ret = list_lru_init_key(&shadow_nodes, &shadow_nodes_key);
-+ ret = __list_lru_init(&shadow_nodes, true, &shadow_nodes_key);
+- ret = list_lru_init_key(&workingset_shadow_nodes, &shadow_nodes_key);
++ ret = __list_lru_init(&workingset_shadow_nodes, true, &shadow_nodes_key);
if (ret)
goto err;
ret = register_shrinker(&workingset_shadow_shrinker);