Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145091
b: refs/heads/master
c: 22ef37e
h: refs/heads/master
i:
  145089: debddc2
  145087: 9e2be24
v: v3
  • Loading branch information
Toshiyuki Okajima authored and Linus Torvalds committed May 17, 2009
1 parent 1afb277 commit 5fea2af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd208bcc7cb0acd851e25c951ec2a9c14b084eab
refs/heads/master: 22ef37eed673587ac984965dc88ba94c68873291
6 changes: 3 additions & 3 deletions trunk/mm/page-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ unsigned long vm_dirty_bytes;
/*
* The interval between `kupdate'-style writebacks
*/
unsigned int dirty_writeback_interval = 5 * 100; /* sentiseconds */
unsigned int dirty_writeback_interval = 5 * 100; /* centiseconds */

/*
* The longest time for which data is allowed to remain dirty
*/
unsigned int dirty_expire_interval = 30 * 100; /* sentiseconds */
unsigned int dirty_expire_interval = 30 * 100; /* centiseconds */

/*
* Flag that makes the machine dump writes/reads and block dirtyings.
Expand Down Expand Up @@ -770,7 +770,7 @@ static void wb_kupdate(unsigned long arg)

sync_supers();

oldest_jif = jiffies - msecs_to_jiffies(dirty_expire_interval);
oldest_jif = jiffies - msecs_to_jiffies(dirty_expire_interval * 10);
start_jif = jiffies;
next_jif = start_jif + msecs_to_jiffies(dirty_writeback_interval * 10);
nr_to_write = global_page_state(NR_FILE_DIRTY) +
Expand Down

0 comments on commit 5fea2af

Please sign in to comment.