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]>
  • Loading branch information
tytydraco authored and saikiran2001-v2 committed Mar 8, 2020
1 parent 61a312c commit ed51ffa
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 @@ -87,7 +87,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 ed51ffa

Please sign in to comment.