Disable CPU caches (L1/L2) on ARMv8-A Linux
问题 I want to disable the low level cache on an ARMv8-A platform running Linux, in order to measure performance of optimized code, independent of cache access. For Intel systems I found the following resource (Is there a way to disable CPU cache (L1/L2) on a Linux system?), but I can not directly be applied directly due to a different instruction set. So far I have a kernel module which alters the corresponding system register to disable instruction and data cache. #include <linux/module.h> int