Re: [PATCH] perf sched: Move struct perf_sched definition out ofcmd_sched()

From: Ingo Molnar
Date: Mon Apr 08 2013 - 07:56:51 EST



* Namhyung Kim <namhyung@xxxxxxxxxx> wrote:

> From: Namhyung Kim <namhyung.kim@xxxxxxx>
>
> For some reason it consumed quite amount of compile time when declared
> as local variable, and it disappeared when moved out of the function.
> Moving other variables/tables didn't help.
>
> On my system this single-file-change build time reduced from 11s to 3s.

Amazing effect!

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/