lkml.org 
[lkml]   [2009]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[PATCH 0/7] mtrr: cleanups and CONFIG_EMBEDDED usage
A bit of code-cutting in MTRR handling for users of CONFIG_EMBEDDED.
Patches generated on top of current linux-2.6.git (commit 2b876f9...),
tested on 2.6.32 (Pentium4 machine only, all patches at once).

size arch/x86/kernel/cpu/mtrr/built-in.o (stats based on 2.6.32)
text data bss dec hex
13934 5340 8476 27750 6c66 before
13931 5216 8436 27583 6bbf after (PROCESSOR_SELECT=n)
11788 5188 8356 25332 62f4 after (CPU_SUP_INTEL=y only)

Best Regards,
Michał Mirosław


Michał Mirosław (7):
x86/mtrr: Remove mtrr_ops[]
mtrr: constify struct mtrr_ops
mtrr: Remove use_intel()
x86/Kconfig.cpu: add CPU_SUP_AMD_32 and CPU_SUP_CENTAUR_32
mtrr: use CONFIG_CPU_SUP_* to select MTRR implementations
mtrr: introduce HAVE_MTRR_VENDOR_SPECIFIC
mtrr: mark mtrr_if as __read_mostly

arch/x86/Kconfig | 3 ++
arch/x86/Kconfig.cpu | 9 ++++++
arch/x86/kernel/cpu/mtrr/Makefile | 4 ++-
arch/x86/kernel/cpu/mtrr/amd.c | 7 +----
arch/x86/kernel/cpu/mtrr/centaur.c | 7 +----
arch/x86/kernel/cpu/mtrr/cyrix.c | 7 +----
arch/x86/kernel/cpu/mtrr/generic.c | 3 +-
arch/x86/kernel/cpu/mtrr/main.c | 54 ++++++++++++-----------------------
arch/x86/kernel/cpu/mtrr/mtrr.h | 23 +++++++++++----
arch/x86/kernel/cpu/mtrr/state.c | 10 +++---
10 files changed, 60 insertions(+), 67 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-12-09 08:57    [W:0.059 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site