ACK: [PATCH 0/1] [N][linux-aws]Backport x86/kaslr fix impacting ML/HPC workloads

Cengiz Can cengiz.can at canonical.com
Fri Oct 4 20:36:45 UTC 2024


On 11-09-24 14:09:51, Philip Cox wrote:
> BugLink: https://bugs.launchpad.net/bugs/2080414
> 
> SRU Justification:
> 
> [Impact]
> 
> EC2 team discovered a Linux bug during ML/HPC workload testing on P5 instances. The issue is described at https://lore.kernel.org/all/87ed6soy3z.ffs@tglx/ ("iounmap() on x86 occasionally fails to unmap because the provided valid ioremap address is not below high_memory.").
> 
> [Fix]
> 
> This is fixed by upstream commit ea72ce5da22806d5713f3ffb39a6d5ae73841f93:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ea72ce5da22806d5713f3ffb39a6d5ae73841f93
> 
> [Test Plan]
> 
> AWS tested
> 
> [Where problems could occur]
> 
> If there was code that made incorrect assumptions on how memory was laid out and used, it might break the functionality, but seeing as this is fixing an error, the chances of that should be fairly low.
> 
> [Other Info]
> SF #00392654
> 
> -- 
> 
> 
> Thomas Gleixner (1):
>   x86/kaslr: Expose and use the end of the physical memory address space

Acked-by: Cengiz Can <cengiz.can at canonical.com>

> 
>  arch/x86/include/asm/page_64.h          |  1 +
>  arch/x86/include/asm/pgtable_64_types.h |  4 ++++
>  arch/x86/mm/init_64.c                   |  4 ++++
>  arch/x86/mm/kaslr.c                     | 32 ++++++++++++++++++++-----
>  include/linux/mm.h                      |  4 ++++
>  kernel/resource.c                       |  6 ++---
>  mm/memory_hotplug.c                     |  2 +-
>  mm/sparse.c                             |  2 +-
>  8 files changed, 43 insertions(+), 12 deletions(-)
> 
> -- 
> 2.34.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list