Re: [PATCH V2 11/14] perf sched: Make struct perf_sched sched alocal variable
From: Arnaldo Carvalho de Melo
Date: Wed Oct 23 2013 - 09:16:59 EST
Em Wed, Oct 23, 2013 at 07:43:55AM +0100, David Ahern escreveu:
> On 10/22/13 8:34 AM, Adrian Hunter wrote:
> >Change "struct perf_sched sched" from being global to being local.
> Acked-by: David Ahern <dsahern@xxxxxxxxx>
Hey guys, this is essentially a revert of:
commit f36f83f947ede547833e462696893f866df77324
Author: Namhyung Kim <namhyung.kim@xxxxxxx>
Date: Tue Jun 4 14:46:19 2013 +0900
perf sched: Move struct perf_sched definition out of cmd_sched()
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.
-----
- Arnaldo
--
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/