[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/3] tcg-cpus: split into 3 tcg variants
From: |
Claudio Fontana |
Subject: |
[PATCH v3 0/3] tcg-cpus: split into 3 tcg variants |
Date: |
Thu, 15 Oct 2020 16:32:14 +0200 |
The purpose of this series is to split the tcg-cpus into
3 variants:
tcg_cpus_mttcg (multithreaded tcg vcpus)
tcg_cpus_rr (single threaded round robin vcpus)
tcg_cpus_icount (same as RR, but using icount)
Ciao,
Claudio
v2 -> v3:
* comments: remove some, replace "vcpu" with "vCPU" (Philippe)
* tcg_cpus_mttcg.h: remove include completely after the last export is gone.
(Richard)
v1 -> v2:
* fixed file preambles to be clearer (Philippe)
* reworked includes (Philippe)
* made a few symbols static, as they are private now.
* added a rename patch at the end to make naming more consistent.
* added Suggested-by: Richard, since it is his idea originally.
Claudio Fontana (3):
accel/tcg: split CpusAccel into three TCG variants
accel/tcg: split tcg_start_vcpu_thread
accel/tcg: rename tcg-cpus functions to match module name
accel/tcg/meson.build | 9 +-
accel/tcg/tcg-all.c | 13 +-
accel/tcg/tcg-cpus-icount.c | 147 +++++++++++
accel/tcg/tcg-cpus-icount.h | 17 ++
accel/tcg/tcg-cpus-mttcg.c | 140 ++++++++++
accel/tcg/tcg-cpus-rr.c | 305 ++++++++++++++++++++++
accel/tcg/tcg-cpus-rr.h | 21 ++
accel/tcg/tcg-cpus.c | 504 +-----------------------------------
accel/tcg/tcg-cpus.h | 12 +-
softmmu/icount.c | 2 +-
10 files changed, 669 insertions(+), 501 deletions(-)
create mode 100644 accel/tcg/tcg-cpus-icount.c
create mode 100644 accel/tcg/tcg-cpus-icount.h
create mode 100644 accel/tcg/tcg-cpus-mttcg.c
create mode 100644 accel/tcg/tcg-cpus-rr.c
create mode 100644 accel/tcg/tcg-cpus-rr.h
--
2.26.2
- [PATCH v3 0/3] tcg-cpus: split into 3 tcg variants,
Claudio Fontana <=