linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/3] ARCH_SUPPORTS_DEBUG_PAGEALLOC for arm64
@ 2016-01-29 23:46 Laura Abbott
  2016-01-29 23:46 ` [PATCHv2 1/3] arm64: Drop alloc function from create_mapping Laura Abbott
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Laura Abbott @ 2016-01-29 23:46 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Mark Rutland, Ard Biesheuvel
  Cc: Laura Abbott, linux-arm-kernel, linux-kernel

Hi,

This is v2 of the series to add proper debug pagealloc support for arm64.

Changes since v1:
- Dropped the config for forcing pages and changed it to runtime detection.
  This now matches better with how x86 and other arches are being updated.
  That patch is now dropped completely and folded in to the actual patch
  for ARCH_SUPPORTS_DEBUG_PAGEALLOC
- Took Mark's suggestion to rename create_mapping -> create_mapping_noalloc
- The only way to get all PAGE_SIZE mappings right now is to enable
  debug_pagealloc. This is the only actual use case right now. It is fairly
  simple to add the code to let this happen for other uses. If that
  time comes someone can plead their case to the court of ARM to accept such
  a patch.

This series now depends on the patch to let debug_pagealloc_enabled()
be used when !CONFIG_DEBUG_PAGEALLOC
(http://article.gmane.org/gmane.linux.kernel.mm/145208)
I can either take acks and submit this to the MM tree or we can wait for that
patch to show up in something I can rebase to.

Thanks,
Laura

Laura Abbott (3):
  arm64: Drop alloc function from create_mapping
  arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC
  arm64: ptdump: Indicate whether memory should be faulting

 arch/arm64/Kconfig       |  3 +++
 arch/arm64/mm/dump.c     |  5 +++++
 arch/arm64/mm/mmu.c      | 37 +++++++++++++++++++++++++------------
 arch/arm64/mm/pageattr.c | 40 +++++++++++++++++++++++++++++++++-------
 4 files changed, 66 insertions(+), 19 deletions(-)

-- 
2.5.0

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

end of thread, other threads:[~2016-02-02 16:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-29 23:46 [PATCHv2 0/3] ARCH_SUPPORTS_DEBUG_PAGEALLOC for arm64 Laura Abbott
2016-01-29 23:46 ` [PATCHv2 1/3] arm64: Drop alloc function from create_mapping Laura Abbott
2016-01-30 10:34   ` Ard Biesheuvel
2016-02-01 12:11     ` Mark Rutland
2016-01-29 23:46 ` [PATCHv2 2/3] arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC Laura Abbott
2016-02-01 12:29   ` Mark Rutland
2016-02-01 21:24     ` Laura Abbott
2016-02-02  8:57       ` Ard Biesheuvel
2016-02-02 12:23       ` Mark Rutland
2016-02-02 12:31         ` Mark Rutland
2016-02-02 16:08           ` Laura Abbott
2016-01-29 23:46 ` [PATCHv2 3/3] arm64: ptdump: Indicate whether memory should be faulting Laura Abbott

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