Re: [PATCH v2] perf, x86: Fix event scheduler for constraints withoverlapping counters

From: Ingo Molnar
Date: Tue Apr 19 2011 - 07:29:51 EST



* Robert Richter <robert.richter@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/