diff for duplicates of <20170306162410.GB2090@cmpxchg.org>
diff --git a/a/1.txt b/N1/1.txt
index 51e086c..838bf71 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -14,46 +14,4 @@ On Mon, Mar 06, 2017 at 10:37:40AM +0900, Minchan Kim wrote:
That wasn't intentional; I didn't see the sc.nr_reclaimed reset.
----
-
->From e126db716926ff353b35f3a6205bd5853e01877b Mon Sep 17 00:00:00 2001
-From: Johannes Weiner <hannes@cmpxchg.org>
-Date: Mon, 6 Mar 2017 10:53:59 -0500
-Subject: [PATCH] mm: fix 100% CPU kswapd busyloop on unreclaimable nodes fix
-
-Check kswapd failure against the cumulative nr_reclaimed count, not
-against the count from the lowest priority iteration.
-
-Suggested-by: Minchan Kim <minchan@kernel.org>
-Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
----
- mm/vmscan.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/mm/vmscan.c b/mm/vmscan.c
-index ddcff8a11c1e..b834b2dd4e19 100644
---- a/mm/vmscan.c
-+++ b/mm/vmscan.c
-@@ -3179,9 +3179,9 @@ static int balance_pgdat(pg_data_t *pgdat, int order, int classzone_idx)
- count_vm_event(PAGEOUTRUN);
-
- do {
-+ unsigned long nr_reclaimed = sc.nr_reclaimed;
- bool raise_priority = true;
-
-- sc.nr_reclaimed = 0;
- sc.reclaim_idx = classzone_idx;
-
- /*
-@@ -3271,7 +3271,8 @@ static int balance_pgdat(pg_data_t *pgdat, int order, int classzone_idx)
- * Raise priority if scanning rate is too low or there was no
- * progress in reclaiming pages
- */
-- if (raise_priority || !sc.nr_reclaimed)
-+ nr_reclaimed = sc.nr_reclaimed - nr_reclaimed;
-+ if (raise_priority || !nr_reclaimed)
- sc.priority--;
- } while (sc.priority >= 1);
-
---
-2.11.1
\ No newline at end of file
+---
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index 3dff867..58f3b74 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -57,49 +57,7 @@
"\n",
"That wasn't intentional; I didn't see the sc.nr_reclaimed reset.\n",
"\n",
- "---\n",
- "\n",
- ">From e126db716926ff353b35f3a6205bd5853e01877b Mon Sep 17 00:00:00 2001\n",
- "From: Johannes Weiner <hannes\@cmpxchg.org>\n",
- "Date: Mon, 6 Mar 2017 10:53:59 -0500\n",
- "Subject: [PATCH] mm: fix 100% CPU kswapd busyloop on unreclaimable nodes fix\n",
- "\n",
- "Check kswapd failure against the cumulative nr_reclaimed count, not\n",
- "against the count from the lowest priority iteration.\n",
- "\n",
- "Suggested-by: Minchan Kim <minchan\@kernel.org>\n",
- "Signed-off-by: Johannes Weiner <hannes\@cmpxchg.org>\n",
- "---\n",
- " mm/vmscan.c | 5 +++--\n",
- " 1 file changed, 3 insertions(+), 2 deletions(-)\n",
- "\n",
- "diff --git a/mm/vmscan.c b/mm/vmscan.c\n",
- "index ddcff8a11c1e..b834b2dd4e19 100644\n",
- "--- a/mm/vmscan.c\n",
- "+++ b/mm/vmscan.c\n",
- "\@\@ -3179,9 +3179,9 \@\@ static int balance_pgdat(pg_data_t *pgdat, int order, int classzone_idx)\n",
- " \tcount_vm_event(PAGEOUTRUN);\n",
- " \n",
- " \tdo {\n",
- "+\t\tunsigned long nr_reclaimed = sc.nr_reclaimed;\n",
- " \t\tbool raise_priority = true;\n",
- " \n",
- "-\t\tsc.nr_reclaimed = 0;\n",
- " \t\tsc.reclaim_idx = classzone_idx;\n",
- " \n",
- " \t\t/*\n",
- "\@\@ -3271,7 +3271,8 \@\@ static int balance_pgdat(pg_data_t *pgdat, int order, int classzone_idx)\n",
- " \t\t * Raise priority if scanning rate is too low or there was no\n",
- " \t\t * progress in reclaiming pages\n",
- " \t\t */\n",
- "-\t\tif (raise_priority || !sc.nr_reclaimed)\n",
- "+\t\tnr_reclaimed = sc.nr_reclaimed - nr_reclaimed;\n",
- "+\t\tif (raise_priority || !nr_reclaimed)\n",
- " \t\t\tsc.priority--;\n",
- " \t} while (sc.priority >= 1);\n",
- " \n",
- "-- \n",
- "2.11.1"
+ "---"
]
-8e0564362cd0b267a177292d4ecb5a4b8f01394238c6d396045a0674a8bddf10
+649dfd8e8c1fb027c242e9a9f8a9bef8eaae6f4089a864e9dd337a0d1471cc2e
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.