virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Asias He <asias@redhat.com>
To: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: kvm@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>,
	virtualization@lists.linux-foundation.org,
	target-devel@vger.kernel.org
Subject: [PATCH v2 0/3] tcm_vhost: Optimize gup in vhost_scsi_map_to_sgl
Date: Tue, 22 Jan 2013 11:20:24 +0800	[thread overview]
Message-ID: <1358824827-16169-1-git-send-email-asias@redhat.com> (raw)

Changes in v2:
- Use GFP_KERNEL instead of GFP_ATOMIC
- Handle pages pinned less than wanted

Asias He (3):
  tcm_vhost: Introduce iov_num_pages
  tcm_vhost: Use iov_num_pages to calculate sgl_count
  tcm_vhost: Optimize gup in vhost_scsi_map_to_sgl

 drivers/vhost/tcm_vhost.c | 68 +++++++++++++++++++++++++++--------------------
 1 file changed, 39 insertions(+), 29 deletions(-)

-- 
1.8.1

             reply	other threads:[~2013-01-22  3:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-22  3:20 Asias He [this message]
2013-01-22  3:20 ` [PATCH v2 1/3] tcm_vhost: Introduce iov_num_pages Asias He
2013-01-29 18:51   ` Nicholas A. Bellinger
2013-01-22  3:20 ` [PATCH v2 2/3] tcm_vhost: Use iov_num_pages to calculate sgl_count Asias He
2013-01-22  3:20 ` [PATCH v2 3/3] tcm_vhost: Optimize gup in vhost_scsi_map_to_sgl Asias He
     [not found] ` <1358824827-16169-3-git-send-email-asias@redhat.com>
2013-01-29 18:52   ` [PATCH v2 2/3] tcm_vhost: Use iov_num_pages to calculate sgl_count Nicholas A. Bellinger
     [not found] ` <1358824827-16169-4-git-send-email-asias@redhat.com>
2013-01-29 18:53   ` [PATCH v2 3/3] tcm_vhost: Optimize gup in vhost_scsi_map_to_sgl Nicholas A. Bellinger
2013-01-29 19:16     ` Michael S. Tsirkin
2013-01-29 19:21       ` Nicholas A. Bellinger

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=1358824827-16169-1-git-send-email-asias@redhat.com \
    --to=asias@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=nab@linux-iscsi.org \
    --cc=target-devel@vger.kernel.org \
    --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 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).