lkml.org 
[lkml]   [2018]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v9 09/10] cpuidle: menu: Refine idle state selection for running tick
On Thu, Apr 5, 2018 at 2:27 PM, Peter Zijlstra <peterz@infradead.org> wrote:
> On Wed, Apr 04, 2018 at 10:49:34AM +0200, Rafael J. Wysocki wrote:
>> -static inline ktime_t tick_nohz_get_sleep_length(void)
>> +static inline ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next)
>> {
>> - return NSEC_PER_SEC / HZ;
>> + *delta_next = NSEC_PER_SEC / HZ;
>> + return *delta_next;
>
> Shouldn't that be TICK_NSEC ?

Yes, it should.

\
 
 \ /
  Last update: 2018-04-05 15:52    [W:0.084 / U:1.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site