diff options
author | Emilio G. Cota <cota@braap.org> | 2017-06-06 20:17:04 -0400 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-06-19 11:10:59 -0700 |
commit | b255b2c8a5484742606e8760870ba3e14d0c9605 (patch) | |
tree | a49a5f2b5c535768a0dc2b14dd90234c1cb009e9 /contrib | |
parent | cef8fd68364ad754d4f0050a215376cdf0ec744a (diff) |
util: add cacheinfo
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>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions