diff for duplicates of <20131011085701.GA27382@localhost> diff --git a/a/1.txt b/N1/1.txt index 229a926..39c5f53 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -On Fri, Oct 11, 2013 at 10:42:19AM +0200, Toralf Förster wrote: +On Fri, Oct 11, 2013 at 10:42:19AM +0200, Toralf FA?rster wrote: > yeah, now the picture becomes more clear > ... > net.core.warnings = 0 [ ok ] @@ -10,45 +10,3 @@ On Fri, Oct 11, 2013 at 10:42:19AM +0200, Toralf Förster wrote: Great and thanks! So it's the max pause calculation went wrong. Would help you try the below patch? - -From 5420b9bbe42dd0a366d7615e9f3d3724cee725c4 Mon Sep 17 00:00:00 2001 -From: Fengguang Wu <fengguang.wu@intel.com> -Date: Fri, 11 Oct 2013 16:53:26 +0800 -Subject: [PATCH] fix bdi max pause calculation - -Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> ---- - mm/page-writeback.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/mm/page-writeback.c b/mm/page-writeback.c -index 3f0c895..241a746 100644 ---- a/mm/page-writeback.c -+++ b/mm/page-writeback.c -@@ -1104,11 +1104,11 @@ static unsigned long dirty_poll_interval(unsigned long dirty, - return 1; - } - --static long bdi_max_pause(struct backing_dev_info *bdi, -- unsigned long bdi_dirty) -+static unsigned long bdi_max_pause(struct backing_dev_info *bdi, -+ unsigned long bdi_dirty) - { -- long bw = bdi->avg_write_bandwidth; -- long t; -+ unsigned long bw = bdi->avg_write_bandwidth; -+ unsigned long t; - - /* - * Limit pause time for small memory systems. If sleeping for too long -@@ -1120,7 +1120,7 @@ static long bdi_max_pause(struct backing_dev_info *bdi, - t = bdi_dirty / (1 + bw / roundup_pow_of_two(1 + HZ / 8)); - t++; - -- return min_t(long, t, MAX_PAUSE); -+ return min_t(unsigned long, t, MAX_PAUSE); - } - - static long bdi_min_pause(struct backing_dev_info *bdi, --- -1.7.10.4 diff --git a/a/content_digest b/N1/content_digest index 497d302..62e2bfb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -24,7 +24,7 @@ " Michal Hocko <mhocko@suse.cz>\0" "\00:1\0" "b\0" - "On Fri, Oct 11, 2013 at 10:42:19AM +0200, Toralf F\303\266rster wrote:\n" + "On Fri, Oct 11, 2013 at 10:42:19AM +0200, Toralf FA?rster wrote:\n" "> yeah, now the picture becomes more clear\n" "> ...\n" "> net.core.warnings = 0 [ ok ]\n" @@ -35,48 +35,6 @@ "> ick: task_ratelimit: 0\n" "\n" "Great and thanks! So it's the max pause calculation went wrong.\n" - "Would help you try the below patch?\n" - "\n" - "From 5420b9bbe42dd0a366d7615e9f3d3724cee725c4 Mon Sep 17 00:00:00 2001\n" - "From: Fengguang Wu <fengguang.wu@intel.com>\n" - "Date: Fri, 11 Oct 2013 16:53:26 +0800\n" - "Subject: [PATCH] fix bdi max pause calculation\n" - "\n" - "Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>\n" - "---\n" - " mm/page-writeback.c | 10 +++++-----\n" - " 1 file changed, 5 insertions(+), 5 deletions(-)\n" - "\n" - "diff --git a/mm/page-writeback.c b/mm/page-writeback.c\n" - "index 3f0c895..241a746 100644\n" - "--- a/mm/page-writeback.c\n" - "+++ b/mm/page-writeback.c\n" - "@@ -1104,11 +1104,11 @@ static unsigned long dirty_poll_interval(unsigned long dirty,\n" - " \treturn 1;\n" - " }\n" - " \n" - "-static long bdi_max_pause(struct backing_dev_info *bdi,\n" - "-\t\t\t unsigned long bdi_dirty)\n" - "+static unsigned long bdi_max_pause(struct backing_dev_info *bdi,\n" - "+\t\t\t\t unsigned long bdi_dirty)\n" - " {\n" - "-\tlong bw = bdi->avg_write_bandwidth;\n" - "-\tlong t;\n" - "+\tunsigned long bw = bdi->avg_write_bandwidth;\n" - "+\tunsigned long t;\n" - " \n" - " \t/*\n" - " \t * Limit pause time for small memory systems. If sleeping for too long\n" - "@@ -1120,7 +1120,7 @@ static long bdi_max_pause(struct backing_dev_info *bdi,\n" - " \tt = bdi_dirty / (1 + bw / roundup_pow_of_two(1 + HZ / 8));\n" - " \tt++;\n" - " \n" - "-\treturn min_t(long, t, MAX_PAUSE);\n" - "+\treturn min_t(unsigned long, t, MAX_PAUSE);\n" - " }\n" - " \n" - " static long bdi_min_pause(struct backing_dev_info *bdi,\n" - "-- \n" - 1.7.10.4 + Would help you try the below patch? -ec0e732fb40b257652c0ddcc49fd4faec20af66578b96d81f0a20e7805fe95c4 +3073897e4c9f34de68fe8e3426b58679a2546f2452e6fa49da519cfcd56377c9
diff --git a/a/1.txt b/N2/1.txt index 229a926..cbcce56 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -11,7 +11,7 @@ On Fri, Oct 11, 2013 at 10:42:19AM +0200, Toralf Förster wrote: Great and thanks! So it's the max pause calculation went wrong. Would help you try the below patch? -From 5420b9bbe42dd0a366d7615e9f3d3724cee725c4 Mon Sep 17 00:00:00 2001 +>From 5420b9bbe42dd0a366d7615e9f3d3724cee725c4 Mon Sep 17 00:00:00 2001 From: Fengguang Wu <fengguang.wu@intel.com> Date: Fri, 11 Oct 2013 16:53:26 +0800 Subject: [PATCH] fix bdi max pause calculation diff --git a/a/content_digest b/N2/content_digest index 497d302..57111f1 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -37,7 +37,7 @@ "Great and thanks! So it's the max pause calculation went wrong.\n" "Would help you try the below patch?\n" "\n" - "From 5420b9bbe42dd0a366d7615e9f3d3724cee725c4 Mon Sep 17 00:00:00 2001\n" + ">From 5420b9bbe42dd0a366d7615e9f3d3724cee725c4 Mon Sep 17 00:00:00 2001\n" "From: Fengguang Wu <fengguang.wu@intel.com>\n" "Date: Fri, 11 Oct 2013 16:53:26 +0800\n" "Subject: [PATCH] fix bdi max pause calculation\n" @@ -79,4 +79,4 @@ "-- \n" 1.7.10.4 -ec0e732fb40b257652c0ddcc49fd4faec20af66578b96d81f0a20e7805fe95c4 +b2c5213945e58c4086b4aca15f81e0692f361dcb7354963ceed6e25c67cb435f
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.