]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/fork.c
sched: fix /proc/<PID>/stat stime/utime monotonicity, part 2
[linux-2.6-omap-h63xx.git] / kernel / fork.c
index a65bfc47177ce7e6c3f6bc68fa7a3b3e1a70dbf2..28a74015198899c3511f3daedbb2412c750c4fe4 100644 (file)
@@ -1057,6 +1057,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
        p->utimescaled = cputime_zero;
        p->stimescaled = cputime_zero;
        p->prev_utime = cputime_zero;
+       p->prev_stime = cputime_zero;
 
 #ifdef CONFIG_TASK_XACCT
        p->rchar = 0;           /* I/O counter: bytes read */