TLB and mm-related optimisations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
Reviews trailers per patch
9 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Catalin Marinas |
|---|---|
| 1/4 | |
| 1/4 | |
| 1/4 | |
| 1/4 | |
| 2/4 | R-b |
| 3/4 | R-b |
| 3/4 | R-b |
| 3/4 | R-b |
| 3/4 | R-b |
| 3/4 | R-b |
| 3/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] TLB and mm-related optimisations
Hello again,
This is another slightly random set of patches which I cooked up when trying to optimise various bits and pieces in arch/arm/mm after writing my changes to the ASID allocator.
The first two patches modify the local_* variants of our TLB and BP invalidation functions to use the non-shareable versions, avoiding the need to broadcast them in hardware. This allows us to update the ASID allocator to use only local operations (which it needs anyway for 11MPCore).
The third patch removes some redundant cache-flushing when writing page table entries for ARMv7 SMP targets (which require table walking at L1) and the final patch allows us to use non-exclusive instructions for atomic64 read/set (like we do for the 32-bit variants) when we have LPAE, since this requires atomicity of aligned double-word accesses in order to manipulate ptes atomically.
All feedback welcome,
Will
Will Deacon (4):
ARM: tlb: don't perform inner-shareable invalidation for local TLB
ops
ARM: tlb: don't perform inner-shareable invalidation for local BP ops
ARM: mm: kill unused TLB_CAN_READ_FROM_L1_CACHE and use ALT_SMP
instead
ARM: atomics: don't use exclusives for atomic64 read/set with LPAE
arch/arm/include/asm/atomic.h | 24 ++++++++++++ arch/arm/include/asm/tlbflush.h | 83 +++++++++++++++++++++++++++++++++++++---- arch/arm/kernel/smp_tlb.c | 10 ++--- arch/arm/mm/context.c | 5 +-- arch/arm/mm/proc-v6.S | 2 - arch/arm/mm/proc-v7-2level.S | 3 +- arch/arm/mm/proc-v7-3level.S | 3 +- arch/arm/mm/proc-v7.S | 4 +- 8 files changed, 112 insertions(+), 22 deletions(-)
Signature · 1 line
1.8.0