ring buffer: Use cpu_dcache_is_aliasing()
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 11 Apr 2024 20:09:26 +0000 (16:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 11 Apr 2024 20:09:26 +0000 (16:09 -0400)
commit18fd64422b4297f9beea82f1c1a97b80791312e4
tree614fe801cb9169aa34d28740881691a9eb1f4608
parent217bc2e4685050dddce9bdd2557b64f6b8c16622
ring buffer: Use cpu_dcache_is_aliasing()

Upstream Linux commit 8690bbcf3b7 ("Introduce cpu_dcache_is_aliasing()
across all architectures") allows checking whether the architecture has
aliasing data caches more accurately. This will be present in upstream
Linux v6.9 (currently in v6.9-rc3).

I expect this to improve the ring buffer performance on ARM64 and
32-bit ARM with non-aliasing data caches.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I3e29966b8c8cab098d57437a11f1f94c53a9e186
src/lib/ringbuffer/ring_buffer_frontend.c
This page took 0.026143 seconds and 4 git commands to generate.