Skip to content

Optimise cache-flushing system call and add iovec variant

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: cacheflush: don't round address range up to nearest pagearch/arm/include/asm/cacheflush.h+1 -21 reply
2/3ARM: cacheflush: don't bother rounding to nearest vmaarch/arm/kernel/traps.c+1 -161 reply
2/3ARM: cacheflush: don't bother rounding to nearest vma+0 -01 reply
2/3ARM: cacheflush: don't bother rounding to nearest vma+0 -01 reply
3/3ARM: cacheflush: add new iovec-based cache flushing system callarch/arm/include/uapi/asm/unistd.h arch/arm/kernel/traps.c+37 -01 reply
3/3ARM: cacheflush: add new iovec-based cache flushing system call+0 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJonathan AustinCatalin Marinas
SeriesT-b
1/3R-b
2/3
2/3
2/3
3/3
3/3

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] Optimise cache-flushing system call and add iovec variant

Hello,

This patch series has been sitting on my box for some time, pending benchmark results and analysis.

The results are that, with the first two patches in this series, we see ~2% improvement in browser benchmark scores, which flush the cache fairly regularly in response to jitting JS code.

The final patch is more of an RFC, since I don't have any software that uses it outside of my toy programs.

All feedback welcome,

Will

Will Deacon (3):
ARM: cacheflush: don't round address range up to nearest page
ARM: cacheflush: don't bother rounding to nearest vma
ARM: cacheflush: add new iovec-based cache flushing system call

 arch/arm/include/asm/cacheflush.h  |  3 +--
 arch/arm/include/uapi/asm/unistd.h |  1 +
 arch/arm/kernel/traps.c            | 49 +++++++++++++++++++++++++++-----------
 3 files changed, 37 insertions(+), 16 deletions(-)
Signature · 1 line
1.8.0