Skip to content

Commit

Permalink
mm: Do not periodically flush dirty pages
Browse files Browse the repository at this point in the history
Let dirty_ratio handle this, do not use a constant timer to flush data
to the disk.

Signed-off-by: Tyler Nijmeh <[email protected]>
Signed-off-by: Rapherion Rollerscaperers <[email protected]>
Signed-off-by: CloudedQuartz <[email protected]>
  • Loading branch information
tytydraco authored and CloudedQuartz committed Jun 3, 2021
1 parent 675f025 commit d92fcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/page-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ unsigned long vm_dirty_bytes;
/*
* The interval between `kupdate'-style writebacks
*/
unsigned int dirty_writeback_interval = 5 * 100; /* centiseconds */
unsigned int dirty_writeback_interval; /* centiseconds */

EXPORT_SYMBOL_GPL(dirty_writeback_interval);

Expand Down

0 comments on commit d92fcdc

Please sign in to comment.