Oneiric SRU: x86, amd: Avoid cache aliasing penalties on AMD family 15h
Stefan Bader
stefan.bader at canonical.com
Fri Sep 30 11:27:43 UTC 2011
On 29.09.2011 19:41, Tim Gardner wrote:
> I've tested this patch series on the targeted CPU as well as regression testing
> on non-AMD CPUs. Without intricate and in-depth instrumentation I cannot tell if
> the patch has a positive impact, but I can at least be reasonably sure its not
> deleterious. The AMD guys are pretty hot for this patch set. Its been well
> discussed and merged into tip awaiting the 3.2 merge window.
>
> The following changes since commit c7d90650a63f4cca4af4df1bd1f97d642453f55f:
> Leann Ogasawara (1):
> UBUNTU: Start new release
>
> are available in the git repository at:
>
> git://kernel.ubuntu.com/rtg/ubuntu-oneiric bdozer
>
> Borislav Petkov (4):
> x86, amd: Avoid cache aliasing penalties on AMD family 15h
> x86: Add a BSP cpu_dev helper
> x86, amd: Move BSP code to cpu_dev helper
> x86-32, amd: Move va_align definition to unbreak 32-bit build
>
> Documentation/kernel-parameters.txt | 13 ++++++
> arch/x86/include/asm/elf.h | 31 ++++++++++++++
> arch/x86/kernel/cpu/amd.c | 46 +++++++++++++--------
> arch/x86/kernel/cpu/common.c | 3 +
> arch/x86/kernel/cpu/cpu.h | 1 +
> arch/x86/kernel/sys_x86_64.c | 77 +++++++++++++++++++++++++++++++++-
> arch/x86/mm/mmap.c | 20 ++-------
> arch/x86/vdso/vma.c | 9 ++++
> 8 files changed, 164 insertions(+), 36 deletions(-)
>
It looks reasonably save. The only case that would get affected is running on a
type 0x15 AMD cpu. Testing seems to be ok.
Just the middle two seem to me only shuffeling things around. On the other hand
they do not hurt...
Acked-by: Stefan Bader <stefan.bader at canonical.com>
More information about the kernel-team
mailing list