> --- linux-next.orig/kernel/fork.c 2011-08-08 22:11:59.000000000 +0800 > +++ linux-next/kernel/fork.c 2011-08-08 22:18:05.000000000 +0800 > @@ -1301,6 +1301,9 @@ static struct task_struct *copy_process( > p->pdeath_signal = 0; > p->exit_state = 0; > > + p->nr_dirtied = 0; > + p->nr_dirtied_pause = 8; Hmm, it looks better to allow a new task to dirty 128KB without being throttled, if the system is not in dirty exceeded state. So changed the last line to this: + p->nr_dirtied_pause = 128 >> (PAGE_SHIFT - 10); Thanks, Fengguang -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html