linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix swap and page migration for LPAE
@ 2012-07-26 16:01 Will Deacon
  2012-07-26 16:01 ` [PATCH 1/2] ARM: mm: avoid setting nG bit for user mappings that aren't present Will Deacon
  2012-07-26 16:01 ` [PATCH 2/2] ARM: mm: use 5 bits for swapfile type encoding Will Deacon
  0 siblings, 2 replies; 5+ messages in thread
From: Will Deacon @ 2012-07-26 16:01 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-26 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 16:01 [PATCH 0/2] Fix swap and page migration for LPAE Will Deacon
2012-07-26 16:01 ` [PATCH 1/2] ARM: mm: avoid setting nG bit for user mappings that aren't present Will Deacon
2012-07-26 16:49   ` Catalin Marinas
2012-07-26 16:01 ` [PATCH 2/2] ARM: mm: use 5 bits for swapfile type encoding Will Deacon
2012-07-26 16:49   ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).