Oneiric SRU: x86, amd: Avoid cache aliasing penalties on AMD family 15h

Tim Gardner tim.gardner at canonical.com
Fri Sep 30 15:01:16 UTC 2011


On 09/29/2011 06:17 PM, John Johansen wrote:
> On 09/29/2011 10:41 AM, 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 good, and has regression testing, so
>
> Acked-by: John Johansen<john.johansen at canonical.com>
>
> Out of curiosity did you try this with any of AMDs current CPUs

John - I've only tried this on the affected AMD CPU as its the only AMD 
I have in my possession.

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list