Skip to content

arm64: Use pte manipulation functions for THP

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

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
Quoted 11 lines · Catalin Marinas
Quoted 10 lines · Will Deacon
Quoted 9 lines · Steve Capper
Quoted 7 lines · Steve Capper

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.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Does this series look reasonable?

I was waiting for the corresponding arch/arm/ changes.

The arch/arm/ code doesn't have the PTE_WRITE changes. It's a bit more work here because of the classic MMU (but I hope Steve will get there ;).

Indeed, but I'm wary of divergence in the mm code between the two architectures and I'd much rather we try to keep them in sync, rather than improve/bug fix in one before porting the whole lot over.

Will