Skip to content

Commit a54fc49

Browse files
Tang Yizhoubrauner
authored andcommitted
mm/page-writeback.c: Update comment for BANDWIDTH_INTERVAL
The name of the BANDWIDTH_INTERVAL macro is misleading, as it is not only used in the bandwidth update functions wb_update_bandwidth() and __wb_update_bandwidth(), but also in the dirty limit update function domain_update_dirty_limit(). Currently, we haven't found an ideal name, so update the comment only. Signed-off-by: Tang Yizhou <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 80d3ab2 commit a54fc49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/page-writeback.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#define DIRTY_POLL_THRESH (128 >> (PAGE_SHIFT - 10))
5555

5656
/*
57-
* Estimate write bandwidth at 200ms intervals.
57+
* Estimate write bandwidth or update dirty limit at 200ms intervals.
5858
*/
5959
#define BANDWIDTH_INTERVAL max(HZ/5, 1)
6060

0 commit comments

Comments
 (0)