vtime: Use consistent clocks among nohz accounting
[deliverable/linux.git] / kernel / fork.c
index c509cc4a0d5309b399e522bd1acf6cce9476687a..987b28a1f01b6c6ce5d554eb22d9c89e1cde1e7b 100644 (file)
@@ -1304,6 +1304,10 @@ static struct task_struct *copy_process(unsigned long clone_flags,
        p->memcg_batch.do_batch = 0;
        p->memcg_batch.memcg = NULL;
 #endif
+#ifdef CONFIG_BCACHE
+       p->sequential_io        = 0;
+       p->sequential_io_avg    = 0;
+#endif
 
        /* Perform scheduler related setup. Assign this task to a CPU. */
        sched_fork(p);
This page took 0.03574 seconds and 5 git commands to generate.