Skip to contentSkip to conversation

mm/page-writeback.c: fix comments error in page-writeback.c

PATCH In review Wanpeng Li 2 participants 2 messages Jun 9, 2012

Subsystems (2)
lore
Share & tools
lore

Wanpeng Li

author
#0 lore raw

PATCH 1/1 mm/page-writeback.c: fix comments error in page-writeback.c

From: Wanpeng Li <[email protected]>

---
 mm/page-writeback.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mm/page-writeback.c +2 -2
index 93d8d2f..c833bf0 100644
@@ -930,7 +930,7 @@ static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi,
 	 */
 
 	/*
-	 * dirty_ratelimit will follow balanced_dirty_ratelimit iff
+	 * dirty_ratelimit will follow balanced_dirty_ratelimit if
 	 * task_ratelimit is on the same side of dirty_ratelimit, too.
 	 * For example, when
 	 * - dirty_ratelimit > balanced_dirty_ratelimit
@@ -941,7 +941,7 @@ static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi,
 	 * feel and care are stable dirty rate and small position error.
 	 *
 	 * |task_ratelimit - dirty_ratelimit| is used to limit the step size
-	 * and filter out the sigular points of balanced_dirty_ratelimit. Which
+	 * and filter out the singular points of balanced_dirty_ratelimit. Which
 	 * keeps jumping around randomly and can even leap far away at times
 	 * due to the small 200ms estimation period of dirty_rate (we want to
 	 * keep that period small to reduce time lags).
Signature · 7 lines
1.7.9.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#1 lore raw
Quoted 12 lines · Wanpeng Li

From: Wanpeng Li <[email protected]>

---
 mm/page-writeback.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mm/page-writeback.c +0 -0
index 93d8d2f..c833bf0 100644

mm/page-writeback.c static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi, · line 933

Quoted 5 lines
mm/page-writeback.c +1 -1
@@ -930,7 +930,7 @@ static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi,
 	 */
 
 	/*
-	 * dirty_ratelimit will follow balanced_dirty_ratelimit iff
+	 * dirty_ratelimit will follow balanced_dirty_ratelimit if

That 'iff' means 'if and only if'.

mm/page-writeback.c static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi, · line 947

Quoted 12 lines
mm/page-writeback.c +1 -1
 	 * task_ratelimit is on the same side of dirty_ratelimit, too.
 	 * For example, when
 	 * - dirty_ratelimit > balanced_dirty_ratelimit
@@ -941,7 +941,7 @@ static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi,
 	 * feel and care are stable dirty rate and small position error.
 	 *
 	 * |task_ratelimit - dirty_ratelimit| is used to limit the step size
-	 * and filter out the sigular points of balanced_dirty_ratelimit. Which
+	 * and filter out the singular points of balanced_dirty_ratelimit. Which
 	 * keeps jumping around randomly and can even leap far away at times
 	 * due to the small 200ms estimation period of dirty_rate (we want to
 	 * keep that period small to reduce time lags).

I'll fold the above chunk into the previous patch.

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>