diff options
| author | Emilio G. Cota | 2017-06-07 02:17:04 +0200 |
|---|---|---|
| committer | Richard Henderson | 2017-06-19 20:10:59 +0200 |
| commit | b255b2c8a5484742606e8760870ba3e14d0c9605 (patch) | |
| tree | a49a5f2b5c535768a0dc2b14dd90234c1cb009e9 /include/exec | |
| parent | Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20170614-1' into s... (diff) | |
| download | qemu-b255b2c8a5484742606e8760870ba3e14d0c9605.tar.gz qemu-b255b2c8a5484742606e8760870ba3e14d0c9605.tar.xz qemu-b255b2c8a5484742606e8760870ba3e14d0c9605.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
