All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Yang Dongshan <east.moutain.yang@gmail.com>
Cc: qemu-devel@nongnu.org, jasowang@redhat.com, qemu-stable@nongnu.org
Subject: Re: [PATCH] Update event idx if guest has made extra buffers during double check
Date: Mon, 24 Jun 2024 06:24:32 -0400	[thread overview]
Message-ID: <20240624062345-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <CALrP2iV14404dq+5xO8Ziq4fEuacvkU=SjJLT=FJGLAq1Xanhg@mail.gmail.com>

On Mon, Jun 17, 2024 at 09:51:33PM +0800, Yang Dongshan wrote:
> Similar to the first check, if the buffer size still can't satisfy the request,
> notify the
> guest with the updated shadow_avail_idx, it's better than the old one.

So it's an optimization then? Same as any optimization, it should
come with measurements showing the performance benefit.

-- 
MST



      reply	other threads:[~2024-06-24 10:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13  2:21 [PATCH] Update event idx if guest has made extra buffers during double check thomas
2024-06-17  2:15 ` Jason Wang
2024-06-17 10:58 ` Michael S. Tsirkin
2024-06-17 13:51   ` Yang Dongshan
2024-06-24 10:24     ` Michael S. Tsirkin [this message]

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=20240624062345-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=east.moutain.yang@gmail.com \
    --cc=jasowang@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.