lkml.org 
[lkml]   [2011]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2] perf, x86: Fix event scheduler for constraints with overlapping counters

    * Robert Richter <robert.richter@amd.com> wrote:

    > + if (!state)
    > + /* no events to reschedule */
    > + goto done;

    Hm, that's 5 levels of indentation. Would it be possible to factor out the gist
    of the logic into a helper and such? My eyes would be much happier!

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2011-04-19 13:31    [W:2.720 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site