lkml.org 
[lkml]   [2018]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v1 2/5] cpuidle: menu: Record tick delta value in struct menu_device
    Date
    On Sunday, August 12, 2018 6:09:28 PM CEST Leo Yan wrote:
    > Since the tick delta is used in multiple places in menu_select(), it's
    > better to use single one variable to record this value; furthermore, for
    > more readable we can refactor the code to split a separate function to
    > making decision for stopping tick, which also needs to use tick delta
    > value as one metric for consideration.

    I don't quite agree that allocating more per-CPU memory for readability
    sake is a good idea, sorry.

    Thanks,
    Rafael

    \
     
     \ /
      Last update: 2018-08-21 10:37    [W:3.006 / U:0.396 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site