Messages in this thread | | | Date | Wed, 23 Oct 2013 10:16:46 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH V2 11/14] perf sched: Make struct perf_sched sched a local variable |
| |
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@gmail.com>
Hey guys, this is essentially a revert of:
commit f36f83f947ede547833e462696893f866df77324 Author: Namhyung Kim <namhyung.kim@lge.com> 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
| |