[PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-17 Thread Frederic Weisbecker
The archs that implement virtual cputime accounting all flush the cputime of a task when it gets descheduled and sometimes set up some ground initialization for the next task to account its cputime. These archs all put their own hooks in their context switch callbacks and handle the off-case

[PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-17 Thread Frederic Weisbecker
The archs that implement virtual cputime accounting all flush the cputime of a task when it gets descheduled and sometimes set up some ground initialization for the next task to account its cputime. These archs all put their own hooks in their context switch callbacks and handle the off-case

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-16 Thread Martin Schwidefsky
On Thu, 16 Aug 2012 14:50:33 +0200 Frederic Weisbecker wrote: > On Thu, Aug 16, 2012 at 09:50:32AM +0200, Martin Schwidefsky wrote: > > On Wed, 15 Aug 2012 21:28:17 +0200 > > Frederic Weisbecker wrote: > > > > > On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin Schwidefsky wrote: > > > > On

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-16 Thread Frederic Weisbecker
On Thu, Aug 16, 2012 at 09:50:32AM +0200, Martin Schwidefsky wrote: > On Wed, 15 Aug 2012 21:28:17 +0200 > Frederic Weisbecker wrote: > > > On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin Schwidefsky wrote: > > > On Tue, 14 Aug 2012 16:16:49 +0200 > > > Frederic Weisbecker wrote: > > > > > >

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-16 Thread Martin Schwidefsky
On Wed, 15 Aug 2012 21:28:17 +0200 Frederic Weisbecker wrote: > On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin Schwidefsky wrote: > > On Tue, 14 Aug 2012 16:16:49 +0200 > > Frederic Weisbecker wrote: > > > > > The archs that implement virtual cputime accounting all > > > flush the cputime of

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-16 Thread Martin Schwidefsky
On Wed, 15 Aug 2012 21:28:17 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin Schwidefsky wrote: On Tue, 14 Aug 2012 16:16:49 +0200 Frederic Weisbecker fweis...@gmail.com wrote: The archs that implement virtual cputime accounting all

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-16 Thread Frederic Weisbecker
On Thu, Aug 16, 2012 at 09:50:32AM +0200, Martin Schwidefsky wrote: On Wed, 15 Aug 2012 21:28:17 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin Schwidefsky wrote: On Tue, 14 Aug 2012 16:16:49 +0200 Frederic Weisbecker

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-16 Thread Martin Schwidefsky
On Thu, 16 Aug 2012 14:50:33 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Thu, Aug 16, 2012 at 09:50:32AM +0200, Martin Schwidefsky wrote: On Wed, 15 Aug 2012 21:28:17 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-15 Thread Frederic Weisbecker
On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin Schwidefsky wrote: > On Tue, 14 Aug 2012 16:16:49 +0200 > Frederic Weisbecker wrote: > > > The archs that implement virtual cputime accounting all > > flush the cputime of a task when it gets descheduled > > and sometimes set up some ground

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-15 Thread Martin Schwidefsky
On Tue, 14 Aug 2012 16:16:49 +0200 Frederic Weisbecker wrote: > The archs that implement virtual cputime accounting all > flush the cputime of a task when it gets descheduled > and sometimes set up some ground initialization for the > next task to account its cputime. > > These archs all put

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-15 Thread Martin Schwidefsky
On Tue, 14 Aug 2012 16:16:49 +0200 Frederic Weisbecker fweis...@gmail.com wrote: The archs that implement virtual cputime accounting all flush the cputime of a task when it gets descheduled and sometimes set up some ground initialization for the next task to account its cputime. These

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-15 Thread Frederic Weisbecker
On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin Schwidefsky wrote: On Tue, 14 Aug 2012 16:16:49 +0200 Frederic Weisbecker fweis...@gmail.com wrote: The archs that implement virtual cputime accounting all flush the cputime of a task when it gets descheduled and sometimes set up some

[PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-14 Thread Frederic Weisbecker
The archs that implement virtual cputime accounting all flush the cputime of a task when it gets descheduled and sometimes set up some ground initialization for the next task to account its cputime. These archs all put their own hooks in their context switch callbacks and handle the off-case

[PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-14 Thread Frederic Weisbecker
The archs that implement virtual cputime accounting all flush the cputime of a task when it gets descheduled and sometimes set up some ground initialization for the next task to account its cputime. These archs all put their own hooks in their context switch callbacks and handle the off-case