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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/20/2012 07:59 AM, Sam Ravnborg wrote:
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.


s/single file/single site/, and I am in complete agreement. However this patch doesn't meet that criterion. In this particular case, there is more to the patch than just the diffstat.

David Daney



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux