[PATCH 4/5] cputime: Specialize irq vtime hooks

2012-10-25 Thread Frederic Weisbecker
With CONFIG_VIRT_CPU_ACCOUNTING, when vtime_account() is called in irq entry/exit, we perform a check on the context: if we are interrupting the idle task we account the pending cputime to idle, otherwise account to system time or its sub-areas: tsk->stime, hardirq time, softirq time, ... However

[PATCH 4/5] cputime: Specialize irq vtime hooks

2012-10-25 Thread Frederic Weisbecker
With CONFIG_VIRT_CPU_ACCOUNTING, when vtime_account() is called in irq entry/exit, we perform a check on the context: if we are interrupting the idle task we account the pending cputime to idle, otherwise account to system time or its sub-areas: tsk-stime, hardirq time, softirq time, ... However

[PATCH 4/5] cputime: Specialize irq vtime hooks

2012-10-24 Thread Frederic Weisbecker
With CONFIG_VIRT_CPU_ACCOUNTING, when vtime_account() is called in irq entry/exit, we perform a check on the context: if we are interrupting the idle task we account the pending cputime to idle, otherwise account to system time or its sub-areas: tsk->stime, hardirq time, softirq time, ... However

[PATCH 4/5] cputime: Specialize irq vtime hooks

2012-10-24 Thread Frederic Weisbecker
With CONFIG_VIRT_CPU_ACCOUNTING, when vtime_account() is called in irq entry/exit, we perform a check on the context: if we are interrupting the idle task we account the pending cputime to idle, otherwise account to system time or its sub-areas: tsk-stime, hardirq time, softirq time, ... However