Messages in this thread | | | Date | Fri, 19 Apr 2013 15:29:20 +0200 | Subject | Re: [PATCH] Remove spurious cputimer restart and eliminate its drift | From | Frederic Weisbecker <> |
| |
2013/4/19 Frederic Weisbecker <fweisbec@gmail.com>: >> if (!task_cputime_zero(&tsk->cputime_expires)) { >> struct task_cputime task_sample = { >> - .utime = utime, >> - .stime = stime, >> .sum_exec_runtime = tsk->se.sum_exec_runtime >> }; >> + task_cputime(tsk, &task_sample.utime, &task_sample.stime); > > That too needs to be in another patch. It's a bug that concerns full > dynticks cputime accounting :)
Oops, misread, it's just moving the function, I thought it was missing. Nevermind.
| |