+3
−0
+2
−69
+1
−0
util/cacheinfo.c
0 → 100644
+185
−0
Loading
Add helpers to gather cache info from the host at init-time. For now, only export the host's I/D cache line sizes, which we will use to improve cache locality to avoid false sharing. Suggested-by:Richard Henderson <rth@twiddle.net> Suggested-by:
Geert Martin Ijewski <gm.ijewski@web.de> Tested-by:
Geert Martin Ijewski <gm.ijewski@web.de> Signed-off-by:
Emilio G. Cota <cota@braap.org> Message-Id: <1496794624-4083-1-git-send-email-cota@braap.org> [rth: Move all implementations from tcg/ppc/] Signed-off-by:
Richard Henderson <rth@twiddle.net>