From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefano Garzarella <sgarzare@redhat.com>
Cc: Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com>,
den@virtuozzo.com,
virtualization <virtualization@lists.linux-foundation.org>
Subject: Re: memory locking in vhost-vdpa
Date: Thu, 4 Aug 2022 02:43:41 -0400 [thread overview]
Message-ID: <20220804024211-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20220804063911.c6w7f757yqnfep4u@sgarzare-redhat>
On Thu, Aug 04, 2022 at 08:39:11AM +0200, Stefano Garzarella wrote:
> > technically we can switch to use the va mode, but it might have some
> > performance impact (mostly the copy_from|to_user()).
>
> Would the cost be comparable to implementing a vhost-blk device? (IIRC vq in
> vhost uses copy_from/to_user, right?)
>
> Thanks,
> Stefano
Well not in exactly the same way.
--
MST
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
next prev parent reply other threads:[~2022-08-04 6:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <780fba4c-458f-0abc-ae48-4cf806401228@virtuozzo.com>
2022-08-04 1:52 ` memory locking in vhost-vdpa Jason Wang
2022-08-04 6:30 ` Michael S. Tsirkin
2022-08-04 6:39 ` Stefano Garzarella
2022-08-04 6:43 ` Michael S. Tsirkin [this message]
2022-08-04 7:27 ` Jason Wang
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=20220804024211-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=andrey.zhadchenko@virtuozzo.com \
--cc=den@virtuozzo.com \
--cc=sgarzare@redhat.com \
--cc=virtualization@lists.linux-foundation.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.