Skip to content

x86/mm/cpa: Further optimizations

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86/mm/cpa: Use flush_tlb_all()arch/x86/mm/pageattr.c+1 -112 replies
2/8x86/mm/cpa: Move flush_tlb_all()arch/x86/mm/pageattr.c+17 -273 replies
3/8x86/mm/cpa: Unconditionally avoid WBINDV when we canarch/x86/mm/pageattr.c+2 -160 replies
4/8x86/mm/cpa: Use flush_tlb_kernel_range()arch/x86/mm/pageattr.c+5 -40 replies
5/8x86/mm/cpa: Move CLFLUSH test into cpa_flush_range()arch/x86/mm/pageattr.c+7 -80 replies
6/8x86/mm/cpa: Move CLFLUSH test into cpa_flush_array()arch/x86/mm/pageattr.c+17 -120 replies
7/8x86/mm/cpa: Factor common code between cpa_flush_*()arch/x86/mm/pageattr.c+13 -160 replies
8/8x86/mm/cpa: Optimize __cpa_flush_range()arch/x86/mm/pageattr.c+1 -10 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDave Hansen
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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/8] x86/mm/cpa: Further optimizations

Thomas' CPA patches made me look at the tlb invalidate crud around there. These patches are the result of cleaning some of that up a bit. They are based on top of Thomas' patches.

Dave, can you have a wee look at the Atom errata thing; this does grow the amount of code between the page-table update and the TLB flush a bit, but all that PTI crud we did a while back already made it a non-trivial amount of code.

---
 pageattr.c |  128 ++++++++++++++++++++++---------------------------------------
 1 file changed, 48 insertions(+), 80 deletions(-)