Skip to content

mm/powerpc: enabling memory soft dirty tracking

Laurent Dufour linux-mm linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: clearing pte in clear_soft_dirty()fs/proc/task_mmu.c+4 -32 replies
2/3mm: clear_soft_dirty_pmd requires THPfs/proc/task_mmu.c+7 -71 reply
3/3powerpc/mm: Add page soft dirty trackingarch/powerpc/Kconfig arch/powerpc/include/asm/pgtable-ppc64.h arch/powerpc/include/asm/pgtable.h +3 more+57 -52 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAneesh Kumar K.V
1/3R-b
2/3R-b
3/3

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/3] mm/powerpc: enabling memory soft dirty tracking

This series is enabling the software memory dirty tracking in the kernel for powerpc. This is the follow up of the commit 0f8975ec4db2 ("mm: soft-dirty bits for user memory changes tracking") which introduced this feature in the mm code.

The first patch is fixing an issue in the code clearing the soft dirty bit. The PTE were not cleared before being modified, leading to hang on ppc64.

The second patch is fixing a build issue when the transparent huge page is not enabled.

The third patch is introducing the soft dirty tracking in the powerpc architecture code.

Laurent Dufour (3):
mm: clearing pte in clear_soft_dirty()
mm: clear_soft_dirty_pmd requires THP
powerpc/mm: Add page soft dirty tracking

 arch/powerpc/Kconfig                     |  2 ++
 arch/powerpc/include/asm/pgtable-ppc64.h | 13 +++++++++--
 arch/powerpc/include/asm/pgtable.h       | 40 +++++++++++++++++++++++++++++++-
 arch/powerpc/include/asm/pte-book3e.h    |  1 +
 arch/powerpc/include/asm/pte-common.h    |  5 ++--
 arch/powerpc/include/asm/pte-hash64.h    |  1 +
 fs/proc/task_mmu.c                       | 21 +++++++++--------
 7 files changed, 68 insertions(+), 15 deletions(-)
Signature · 7 lines
1.9.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>