qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] tcg-cpus: split into 3 tcg variants
@ 2020-10-14 19:23 Claudio Fontana
  2020-10-14 19:23 ` [PATCH v2 1/3] accel/tcg: split CpusAccel into three TCG variants Claudio Fontana
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Claudio Fontana @ 2020-10-14 19:23 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, Richard Henderson, Alex Bennée
  Cc: Claudio Fontana, qemu-devel

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

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  | 142 ++++++++++
 accel/tcg/tcg-cpus-mttcg.h  |  13 +
 accel/tcg/tcg-cpus-rr.c     | 307 ++++++++++++++++++++++
 accel/tcg/tcg-cpus-rr.h     |  21 ++
 accel/tcg/tcg-cpus.c        | 504 +-----------------------------------
 accel/tcg/tcg-cpus.h        |  12 +-
 softmmu/icount.c            |   2 +-
 11 files changed, 686 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-mttcg.h
 create mode 100644 accel/tcg/tcg-cpus-rr.c
 create mode 100644 accel/tcg/tcg-cpus-rr.h

-- 
2.26.2



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-15 13:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-14 19:23 [PATCH v2 0/3] tcg-cpus: split into 3 tcg variants Claudio Fontana
2020-10-14 19:23 ` [PATCH v2 1/3] accel/tcg: split CpusAccel into three TCG variants Claudio Fontana
2020-10-14 19:37   ` Philippe Mathieu-Daudé
2020-10-14 19:47   ` Richard Henderson
2020-10-14 19:23 ` [PATCH v2 2/3] accel/tcg: split tcg_start_vcpu_thread Claudio Fontana
2020-10-14 20:08   ` Richard Henderson
2020-10-15 12:33     ` Claudio Fontana
2020-10-15 13:28       ` Claudio Fontana
2020-10-14 19:23 ` [PATCH v2 3/3] accel/tcg: rename tcg-cpus functions to match module name Claudio Fontana
2020-10-14 19:29   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).