Skip to content

arm64: Use pte manipulation functions for THP

Steve Capper linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: mm: Remove PMD_BIT_FUNC macroarch/arm64/include/asm/pgtable.h+41 -100 replies
2/3arm64: mm: Route pmd thp functions through pte equivalentsarch/arm64/include/asm/pgtable.h+35 -321 reply
2/3arm64: mm: Route pmd thp functions through pte equivalents+0 -01 reply
3/3arm64: mm: Correct definition of pmd_mknotpresentarch/arm64/include/asm/pgtable.h+1 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] arm64: Use pte manipulation functions for THP

This series replaces the Transparent HugePage pmd manipulation functions with calls to the standard pte functions. This allows the THP code to take advantage of the new PTE_WRITE logic, and provides better parity with the HugeTLB code (which already uses the pte functions).

Testing was done on the Fast Model with LTP THP tests, and the 3.14-rc1 kernel was used.

Steve Capper (3):
arm64: mm: Remove PMD_BIT_FUNC macro
arm64: mm: Route pmd thp functions through pte equivalents
arm64: mm: Correct definition of pmd_mknotpresent

 arch/arm64/include/asm/pgtable.h | 91 +++++++++++++++++++++++++++-------------
 1 file changed, 62 insertions(+), 29 deletions(-)
Signature · 1 line
1.8.1.4