Re: [PATCH] steal_account_process_tick() should return jiffies

2016-03-05 Thread Chris Friesen
On 03/05/2016 07:19 AM, Frederic Weisbecker wrote: On Sat, Mar 05, 2016 at 11:27:01AM +0100, Thomas Gleixner wrote: Chris, On Fri, 4 Mar 2016, Chris Friesen wrote: First of all the subject line should contain a subsystem prefix, i.e. "sched/cputime:" The callers of

Re: [PATCH] steal_account_process_tick() should return jiffies

2016-03-05 Thread Chris Friesen
On 03/05/2016 07:19 AM, Frederic Weisbecker wrote: On Sat, Mar 05, 2016 at 11:27:01AM +0100, Thomas Gleixner wrote: Chris, On Fri, 4 Mar 2016, Chris Friesen wrote: First of all the subject line should contain a subsystem prefix, i.e. "sched/cputime:" The callers of

Re: [PATCH] steal_account_process_tick() should return jiffies

2016-03-05 Thread Frederic Weisbecker
On Sat, Mar 05, 2016 at 11:27:01AM +0100, Thomas Gleixner wrote: > Chris, > > On Fri, 4 Mar 2016, Chris Friesen wrote: > > First of all the subject line should contain a subsystem prefix, > i.e. "sched/cputime:" > > > The callers of steal_account_process_tick() expect it to return whether > >

Re: [PATCH] steal_account_process_tick() should return jiffies

2016-03-05 Thread Frederic Weisbecker
On Sat, Mar 05, 2016 at 11:27:01AM +0100, Thomas Gleixner wrote: > Chris, > > On Fri, 4 Mar 2016, Chris Friesen wrote: > > First of all the subject line should contain a subsystem prefix, > i.e. "sched/cputime:" > > > The callers of steal_account_process_tick() expect it to return whether > >

Re: [PATCH] steal_account_process_tick() should return jiffies

2016-03-05 Thread Thomas Gleixner
Chris, On Fri, 4 Mar 2016, Chris Friesen wrote: First of all the subject line should contain a subsystem prefix, i.e. "sched/cputime:" > The callers of steal_account_process_tick() expect it to return whether > the last jiffy was stolen or not. > > Currently the return value of

Re: [PATCH] steal_account_process_tick() should return jiffies

2016-03-05 Thread Thomas Gleixner
Chris, On Fri, 4 Mar 2016, Chris Friesen wrote: First of all the subject line should contain a subsystem prefix, i.e. "sched/cputime:" > The callers of steal_account_process_tick() expect it to return whether > the last jiffy was stolen or not. > > Currently the return value of

[PATCH] steal_account_process_tick() should return jiffies

2016-03-04 Thread Chris Friesen
The callers of steal_account_process_tick() expect it to return whether the last jiffy was stolen or not. Currently the return value of steal_account_process_tick() is in units of cputime, which vary between either jiffies or nsecs depending on CONFIG_VIRT_CPU_ACCOUNTING_GEN. The fix is

[PATCH] steal_account_process_tick() should return jiffies

2016-03-04 Thread Chris Friesen
The callers of steal_account_process_tick() expect it to return whether the last jiffy was stolen or not. Currently the return value of steal_account_process_tick() is in units of cputime, which vary between either jiffies or nsecs depending on CONFIG_VIRT_CPU_ACCOUNTING_GEN. The fix is