qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollis_blanchard@mentor.com>
To: stefanha@redhat.com
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 2/2] trace: separate MMIO tracepoints from TB-access tracepoints
Date: Mon, 7 Mar 2016 13:32:48 -0800	[thread overview]
Message-ID: <1457386368.3827.5.camel@mentor.com> (raw)
In-Reply-To: <1456949575-1633-2-git-send-email-hollis_blanchard@mentor.com>

[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]

On Wed, 2016-03-02 at 12:12 -0800, Hollis Blanchard wrote:
> Memory accesses to code which has previously been translated into a
> TB show up
> in the MMIO path, so that they may invalidate the TB. It's extremely
> confusing
> to mix those in with device MMIOs, so split them into their own
> tracepoint.
> 
> Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---
> It took many hours to figure out why some RAM accesses were coming
> through the
> MMIO path instead of being handled inline in the TBs.
> 
> On IRC, Paolo expressed some concern about performance, but
> ultimately agreed
> that adding one conditional to an already heavy codepath wouldn't
> have much
> impact.
> 
> v2: rename trace_memory_region_ops_tb_read/write to
> trace_memory_region_tb_read/write
> 
Stefan, any further comment here? You sent a Reviewed-by on the
original, but unlike the "include CPU index" patch, you didn't mention
adding this one to https://github.com/stefanha/qemu/commits/tracing.

-- 
Hollis Blanchard <hollis_blanchard@mentor.com>
Mentor Graphics Emulation Division

[-- Attachment #2: Type: text/html, Size: 1610 bytes --]

  reply	other threads:[~2016-03-07 21:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 20:12 [Qemu-devel] [PATCH v2 1/2] trace: include CPU index in trace_memory_region_*() Hollis Blanchard
2016-03-02 20:12 ` [Qemu-devel] [PATCH v2 2/2] trace: separate MMIO tracepoints from TB-access tracepoints Hollis Blanchard
2016-03-07 21:32   ` Hollis Blanchard [this message]
2016-03-04 15:12 ` [Qemu-devel] [PATCH v2 1/2] trace: include CPU index in trace_memory_region_*() Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457386368.3827.5.camel@mentor.com \
    --to=hollis_blanchard@mentor.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).