diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-06 22:02:23 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-06 22:02:23 -0500 |
commit | 208bca0860406d16398145ddd950036a737c3c9d (patch) | |
tree | 7797a16c17d8bd155120126fa7976727fc6de013 /kernel | |
parent | 6aad3738f6a79fd0ca480eaceefe064cc471f6eb (diff) | |
parent | 0e175a1835ffc979e55787774e58ec79e41957d7 (diff) |
Merge branch 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux
* 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/linux:
writeback: Add a 'reason' to wb_writeback_work
writeback: send work item to queue_io, move_expired_inodes
writeback: trace event balance_dirty_pages
writeback: trace event bdi_dirty_ratelimit
writeback: fix ppc compile warnings on do_div(long long, unsigned long)
writeback: per-bdi background threshold
writeback: dirty position control - bdi reserve area
writeback: control dirty pause time
writeback: limit max dirty pause time
writeback: IO-less balance_dirty_pages()
writeback: per task dirty rate limit
writeback: stabilize bdi->dirty_ratelimit
writeback: dirty rate control
writeback: add bg_threshold parameter to __bdi_update_bandwidth()
writeback: dirty position control
writeback: account per-bdi accumulated dirtied pages
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 70d76191afb9..ba0d17261329 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1299,6 +1299,9 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1299 | p->pdeath_signal = 0; | 1299 | p->pdeath_signal = 0; |
1300 | p->exit_state = 0; | 1300 | p->exit_state = 0; |
1301 | 1301 | ||
1302 | p->nr_dirtied = 0; | ||
1303 | p->nr_dirtied_pause = 128 >> (PAGE_SHIFT - 10); | ||
1304 | |||
1302 | /* | 1305 | /* |
1303 | * Ok, make it visible to the rest of the system. | 1306 | * Ok, make it visible to the rest of the system. |
1304 | * We dont wake it up yet. | 1307 | * We dont wake it up yet. |