Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308497
b: refs/heads/master
c: 68809c7
h: refs/heads/master
i:
  308495: faa43d6
v: v3
  • Loading branch information
Fengguang Wu committed May 6, 2012
1 parent c106aff commit 73f37dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4cd9069a0a0e5fb8b007425c937642682ac96c76
refs/heads/master: 68809c7108b9a75baf2a888b1c19ce1a4680f600
1 change: 1 addition & 0 deletions trunk/mm/page-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,7 @@ void writeback_set_ratelimit(void)
unsigned long background_thresh;
unsigned long dirty_thresh;
global_dirty_limits(&background_thresh, &dirty_thresh);
global_dirty_limit = dirty_thresh;
ratelimit_pages = dirty_thresh / (num_online_cpus() * 32);
if (ratelimit_pages < 16)
ratelimit_pages = 16;
Expand Down

0 comments on commit 73f37dd

Please sign in to comment.