qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] plugins/cache: multicore cache modelling and minor tweaks
@ 2021-07-22  6:54 Mahmoud Mandour
  2021-07-22  6:54 ` [PATCH v3 1/5] plugins/cache: Fixed a bug with destroying FIFO metadata Mahmoud Mandour
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Mahmoud Mandour @ 2021-07-22  6:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mahmoud Mandour, cota

Hello,

This series introduce some minor improvements/bug fixes in the cache
plugins and multicore cache modelling.

Multi-core cache modelling is handled such that for full-system
emulation, a private L1 cache is maintained to each core available to
the system. For multi-threaded userspace emulation, a static number of
cores is maintained for the overall system, and every memory access go
through one of these, even if the number of fired threads is more than
that number.

Also, raising the levels of warnings induced some warnings, this is
fixed in it's own patch.

Patches that still need review (other patches are already queued):
    1. plugins/cache: Supported multicore cache modelling
    2. docs/devel/tcg-plugins: added cores arg to cache plugin

v2 -> v3:
    1. Included the link of the patch solving the race.
    2. Fixed the title so that the series appears in Patchew.

v1 -> v2:
    1. Dropped the patch with mitigating the use-after-free bug since
    it's not needed anymore (fixed by Alex Bennée here
    <20210720232703.10650-1-alex.bennee@linaro.org> with patch name:
        tcg/plugins: implement a qemu_plugin_user_exit helper)
    2. Summed cache performance data as a post-processing step.
    3. Refactored appending core data to it's own function

Mahmoud Mandour (5):
  plugins/cache: Fixed a bug with destroying FIFO metadata
  plugins/cache: limited the scope of a mutex lock
  plugins/cache: Supported multicore cache modelling
  docs/devel/tcg-plugins: added cores arg to cache plugin
  plugins/cache: Fixed "function decl. is not a prototype" warnings

 contrib/plugins/cache.c    | 165 ++++++++++++++++++++++++++++---------
 docs/devel/tcg-plugins.rst |  13 +--
 2 files changed, 132 insertions(+), 46 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2021-08-02 11:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-22  6:54 [PATCH v3 0/5] plugins/cache: multicore cache modelling and minor tweaks Mahmoud Mandour
2021-07-22  6:54 ` [PATCH v3 1/5] plugins/cache: Fixed a bug with destroying FIFO metadata Mahmoud Mandour
2021-07-22  6:54 ` [PATCH v3 2/5] plugins/cache: limited the scope of a mutex lock Mahmoud Mandour
2021-07-22  6:54 ` [PATCH v3 3/5] plugins/cache: Supported multicore cache modelling Mahmoud Mandour
2021-07-22  6:54 ` [PATCH v3 4/5] docs/devel/tcg-plugins: added cores arg to cache plugin Mahmoud Mandour
2021-07-22  6:54 ` [PATCH v3 5/5] plugins/cache: Fixed "function decl. is not a prototype" warnings Mahmoud Mandour
2021-08-02 11:24 ` [PATCH v3 0/5] plugins/cache: multicore cache modelling and minor tweaks Alex Bennée

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).