Skip to content

Fix swap and page migration for LPAE

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: mm: avoid setting nG bit for user mappings that aren't presentarch/arm/include/asm/pgtable.h arch/arm/mm/flush.c+18 -181 reply
2/2ARM: mm: use 5 bits for swapfile type encodingarch/arm/include/asm/pgtable.h+3 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchCatalin Marinas
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix swap and page migration for LPAE

Hello,

These two patches fix swapping and page migration for LPAE-enabled kernels. Without these changes, we corrupt the offset stored in the file pte when updating the page tables and may truncate the pfn when storing it into a swp_entry_t.

I'll CC stable on the final patches.

All feedback welcome,

Will

Will Deacon (2):
ARM: mm: avoid setting nG bit for user mappings that aren't present
ARM: mm: use 5 bits for swapfile type encoding

 arch/arm/include/asm/pgtable.h |   40 +++++++++++++++++++++-------------------
 arch/arm/mm/flush.c            |    2 --
 2 files changed, 21 insertions(+), 21 deletions(-)
Signature · 1 line
1.7.4.1