Re: [RFC] move __devinit or __init printk constant format strings to __devinitconst or __initdata?

2009-07-21 Thread David Daney
strings to the proper section to begin with. This wouldn't be unprecedented, the Mozilla people already use their own extensions to GCC, and will probably migrate to GCC plug-ins. We don't want the kernel to get left behind in the GCC plug-in race. David Daney -- To unsubscribe from this list

[PATCH RFC 3/5] kbuild/extable: Hook up sortextable into the build system.

2011-11-18 Thread David Daney
From: David Daney david.da...@cavium.com Define a config variable BUILDTIME_EXTABLE_SORT to control build time sorting of the kernel's exception table. Patch Makefile to do the sorting when BUILDTIME_EXTABLE_SORT is selected. Signed-off-by: David Daney david.da...@cavium.com --- Makefile

[PATCH RFC 5/5] x86: Select BUILDTIME_EXTABLE_SORT

2011-11-18 Thread David Daney
From: David Daney david.da...@cavium.com We can sort the exeception table at build time for x86, so let's do it. Signed-off-by: David Daney david.da...@cavium.com --- arch/x86/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig

[PATCH RFC 4/5] MIPS: Select BUILDTIME_EXTABLE_SORT

2011-11-18 Thread David Daney
From: David Daney david.da...@cavium.com We can sort the exeception table at build time for MIPS, so let's do it. Signed-off-by: David Daney david.da...@cavium.com --- arch/mips/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips

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

2011-11-18 Thread David Daney
From: David Daney david.da...@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.da...@cavium.com --- scripts/.gitignore|1 + scripts/Makefile |1 + scripts/sortextable.c | 273

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

2011-11-21 Thread David Daney
On 11/20/2011 03:26 PM, H. Peter Anvin wrote: On 11/18/2011 11:37 AM, David Daney wrote: From: David Daneydavid.da...@cavium.com Using this build-time sort saves time booting as we don't have to burn cycles sorting the exception table. If we're going to do this at build time, I would