Skip to content

x86/mm/pat: fix VM_PAT handling

Ajay Kaher linux-mm lkml stable 1 version Applied

Status from this message: This is a note to let you know that I've just added the patch titled

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2x86/mm/pat: clear VM_PAT if copy_p4d_range failedarch/x86/mm/pat/memtype.c include/linux/pgtable.h mm/memory.c +1 more+14 -81 reply
2/2x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range()arch/x86/mm/pat/memtype.c include/linux/pgtable.h kernel/fork.c +1 more+58 -371 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v6.1 0/2] x86/mm/pat: fix VM_PAT handling

[PATCH v6.1 1/2]:
required to backport [PATCH v6.1 2/2].

[PATCH v6.1 2/2]:
backport to fix VM_PAT handling when fork() fails in copy_page_range().

 arch/x86/mm/pat/memtype.c | 50 +++++++++++++++++++++++----------------
 include/linux/pgtable.h   | 31 ++++++++++++++++++------
 kernel/fork.c             |  4 ++++
 mm/memory.c               | 10 ++++----
 mm/mremap.c               |  2 +-
 5 files changed, 62 insertions(+), 35 deletions(-)
Signature · 1 line
2.40.4