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 /util/Makefile.objs | |
parent | cef8fd68364ad754d4f0050a215376cdf0ec744a (diff) | |
download | qemu-b255b2c8a5484742606e8760870ba3e14d0c9605.zip qemu-b255b2c8a5484742606e8760870ba3e14d0c9605.tar.gz qemu-b255b2c8a5484742606e8760870ba3e14d0c9605.tar.bz2 |
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 'util/Makefile.objs')
-rw-r--r-- | util/Makefile.objs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/Makefile.objs b/util/Makefile.objs index c6205eb..94d9477 100644 --- a/util/Makefile.objs +++ b/util/Makefile.objs @@ -20,6 +20,7 @@ util-obj-y += host-utils.o util-obj-y += bitmap.o bitops.o hbitmap.o util-obj-y += fifo8.o util-obj-y += acl.o +util-obj-y += cacheinfo.o util-obj-y += error.o qemu-error.o util-obj-y += id.o util-obj-y += iov.o qemu-config.o qemu-sockets.o uri.o notify.o |