lkml.org 
[lkml]   [2012]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel's exception table.
On Thu, Apr 19, 2012 at 02:59:55PM -0700, David Daney wrote:
> From: David Daney <david.daney@cavium.com>
>
> 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 <david.daney@cavium.com>
> ---
> 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


\
 
 \ /
  Last update: 2012-04-20 17:01    [W:0.805 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site