cputime: Consolidate vtime handling on context switch
[deliverable/linux.git] / kernel / sched / core.c
index ae3bcaa3afbf14940d5e19a41c878a7df4a9904d..78d9c965433a5cb6309e35110f19a6cefca7a27a 100644 (file)
@@ -1796,6 +1796,7 @@ static void finish_task_switch(struct rq *rq, struct task_struct *prev)
         *              Manfred Spraul <manfred@colorfullife.com>
         */
        prev_state = prev->state;
+       account_switch_vtime(prev);
        finish_arch_switch(prev);
 #ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
        local_irq_disable();
This page took 0.025302 seconds and 5 git commands to generate.