[PATCH 5/6] sched: Remove needless round trip nsecs <-> tick conversion of steal time

2014-03-11 Thread Frederic Weisbecker
When update_rq_clock_task() accounts the pending steal time for a task, it converts the steal delta from nsecs to tick then from tick to nsecs. There is no apparent good reason for doing that though because both the task clock and the prev steal delta are u64 and store values in nsecs. So lets

[PATCH 5/6] sched: Remove needless round trip nsecs - tick conversion of steal time

2014-03-11 Thread Frederic Weisbecker
When update_rq_clock_task() accounts the pending steal time for a task, it converts the steal delta from nsecs to tick then from tick to nsecs. There is no apparent good reason for doing that though because both the task clock and the prev steal delta are u64 and store values in nsecs. So lets

Re: [RFC PATCH 5/6] sched: Remove needless round trip nsecs <-> tick conversion of steal time

2014-03-06 Thread Rik van Riel
On 03/06/2014 12:56 PM, Frederic Weisbecker wrote: When update_rq_clock_task() accounts the pending steal time for a task, it converts the steal delta from nsecs to tick then from tick to nsecs. There is no apparent good reason for doing that though because both the task clock and the prev

[RFC PATCH 5/6] sched: Remove needless round trip nsecs <-> tick conversion of steal time

2014-03-06 Thread Frederic Weisbecker
When update_rq_clock_task() accounts the pending steal time for a task, it converts the steal delta from nsecs to tick then from tick to nsecs. There is no apparent good reason for doing that though because both the task clock and the prev steal delta are u64 and store values in nsecs. So lets

[RFC PATCH 5/6] sched: Remove needless round trip nsecs - tick conversion of steal time

2014-03-06 Thread Frederic Weisbecker
When update_rq_clock_task() accounts the pending steal time for a task, it converts the steal delta from nsecs to tick then from tick to nsecs. There is no apparent good reason for doing that though because both the task clock and the prev steal delta are u64 and store values in nsecs. So lets

Re: [RFC PATCH 5/6] sched: Remove needless round trip nsecs - tick conversion of steal time

2014-03-06 Thread Rik van Riel
On 03/06/2014 12:56 PM, Frederic Weisbecker wrote: When update_rq_clock_task() accounts the pending steal time for a task, it converts the steal delta from nsecs to tick then from tick to nsecs. There is no apparent good reason for doing that though because both the task clock and the prev