From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757005Ab2DTO70 (ORCPT ); Fri, 20 Apr 2012 10:59:26 -0400 Received: from smtp.snhosting.dk ([87.238.248.203]:24415 "EHLO smtp.domainteam.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754355Ab2DTO7V (ORCPT ); Fri, 20 Apr 2012 10:59:21 -0400 Date: Fri, 20 Apr 2012 16:59:20 +0200 From: Sam Ravnborg To: David Daney Cc: Ralf Baechle , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Linus Torvalds , Michal Marek , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Andrew Morton , David Daney Subject: Re: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel's exception table. Message-ID: <20120420145920.GA2891@merkur.ravnborg.org> References: <1334872799-14589-1-git-send-email-ddaney.cavm@gmail.com> <1334872799-14589-2-git-send-email-ddaney.cavm@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1334872799-14589-2-git-send-email-ddaney.cavm@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2012 at 02:59:55PM -0700, David Daney wrote: > From: David Daney > > Using this build-time sort saves time booting as we don't have to burn > cycles sorting the exception table. > > Signed-off-by: David Daney > --- > scripts/.gitignore | 1 + > scripts/Makefile | 1 + > scripts/sortextable.c | 273 +++++++++++++++++++++++++++++++++++++++++++++++++ > scripts/sortextable.h | 168 ++++++++++++++++++++++++++++++ If there is only a single file including the .h file - then there is no gain. Just fold it into the .c file. Sam