Skip to content

Fixes for contiguous hugetlb

Steve Capper linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: hugetlb: Fix handling of young ptesarch/arm64/mm/hugetlbpage.c+9 -30 replies
2/2arm64: hugetlb: Avoid unnecessary clearing in huge_ptep_set_access_flagsarch/arm64/mm/hugetlbpage.c+34 -40 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH V2 0/2] Fixes for contiguous hugetlb

This patch series addresses a couple of issues found with contiguous hugetlb.

1) It is possible for old hugetlb's to be created by remove_migration_pte, the first patch adjusts the code to capture any young ptes that could have been created by hardware dirty bit management.

2) huge_ptep_set_access_flags has been changed in the second patch to prevent it from unnecessarily invalidating contiguous hugetlb mappings (which also stops it from potentially evoking back-to-back page faults).

These patches have not yet been tested on hardware.

Steve Capper (2):
arm64: hugetlb: Fix handling of young ptes
arm64: hugetlb: Avoid unnecessary clearing in
huge_ptep_set_access_flags

 arch/arm64/mm/hugetlbpage.c | 50 ++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 43 insertions(+), 7 deletions(-)
Signature · 1 line
2.11.0