diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index c509cc4a0d53..987b28a1f01b 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1304,6 +1304,10 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1304 | p->memcg_batch.do_batch = 0; | 1304 | p->memcg_batch.do_batch = 0; |
1305 | p->memcg_batch.memcg = NULL; | 1305 | p->memcg_batch.memcg = NULL; |
1306 | #endif | 1306 | #endif |
1307 | #ifdef CONFIG_BCACHE | ||
1308 | p->sequential_io = 0; | ||
1309 | p->sequential_io_avg = 0; | ||
1310 | #endif | ||
1307 | 1311 | ||
1308 | /* Perform scheduler related setup. Assign this task to a CPU. */ | 1312 | /* Perform scheduler related setup. Assign this task to a CPU. */ |
1309 | sched_fork(p); | 1313 | sched_fork(p); |