Skip to content

hugetlbfs: cleanup and new primitives for s390, v3

Gerald Schaefer linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hugetlbfs: architecture header cleanupinclude/asm-ia64/hugetlb.h include/asm-ia64/page.h include/asm-powerpc/hugetlb.h +6 more+215 -602 replies
2/3hugetlbfs: add missing TLB flush to hugetlb_cow()include/asm-ia64/hugetlb.h include/asm-powerpc/hugetlb.h include/asm-sh/hugetlb.h +3 more+26 -00 replies
3/3hugetlbfs: common code update for s390include/asm-ia64/hugetlb.h include/asm-powerpc/hugetlb.h include/asm-sh/hugetlb.h +3 more+206 -150 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMartin Schwidefsky
1/3A-b
2/3A-b
3/3A-b

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] hugetlbfs: cleanup and new primitives for s390, v3
Quoted 3 lines · Andrew Morton

So basically the existing hugetlb arch support code needs a big de-macro crapectomy. But your patch has gone and massively duplicated the existing crap, making that decrapectomy larger and harder.

ok, all good things come in threes I guess, so here is a new patchset that also does the de-macro crapectomy. All macros are now replaced with inline functions, which increased the total loc again by some amount.

This patchset cleans up hugetlbfs architecture headers and adds new primitives as preparation for the s390 large page support. Most notably we found that we need to add a new tlb flush for the copy-on-write of a large page (patch 2/3). We think that this is a bug, but obviously one that hasn't shown up so far on any of the other large page architectures.

Cross-Compile tests on the affected architectures (and one unaffected) worked fine, but I had no cross-compiler for sh.

--
Gerald Schaefer