Re: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel'sexception table.

From: Sam Ravnborg
Date: Fri Apr 20 2012 - 10:59:23 EST


On Thu, Apr 19, 2012 at 02:59:55PM -0700, David Daney wrote:
> From: David Daney <david.daney@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> ---
> 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
--
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/