From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935368Ab3DHL4t (ORCPT ); Mon, 8 Apr 2013 07:56:49 -0400 Received: from mail-bk0-f53.google.com ([209.85.214.53]:61488 "EHLO mail-bk0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935108Ab3DHL4r (ORCPT ); Mon, 8 Apr 2013 07:56:47 -0400 Date: Mon, 8 Apr 2013 13:56:43 +0200 From: Ingo Molnar To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Paul Mackerras , Namhyung Kim , LKML Subject: Re: [PATCH] perf sched: Move struct perf_sched definition out of cmd_sched() Message-ID: <20130408115643.GB7513@gmail.com> References: <1365157320-22586-1-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1365157320-22586-1-git-send-email-namhyung@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Namhyung Kim wrote: > From: Namhyung Kim > > 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