<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/vhost/vhost.c, branch linux-3.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-09-17T06:21:32Z</updated>
<entry>
<title>vhost: wake up worker outside spin_lock</title>
<updated>2013-09-17T06:21:32Z</updated>
<author>
<name>Qin Chuanyu</name>
</author>
<published>2013-06-07T13:50:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac9fde2474d04bd6574a037482e3de02b488a6c6'/>
<id>urn:sha1:ac9fde2474d04bd6574a037482e3de02b488a6c6</id>
<content type='text'>
the wake_up_process func is included by spin_lock/unlock in
vhost_work_queue,
but it could be done outside the spin_lock.
I have test it with kernel 3.0.27 and guest suse11-sp2 using iperf,
the num as below.
                  original                 modified
thread_num  tp(Gbps)   vhost(%)  |  tp(Gbps)     vhost(%)
1           9.59        28.82    |   9.59        27.49
8           9.61        32.92    |   9.62        26.77
64          9.58        46.48    |   9.55        38.99
256         9.6         63.7     |   9.6         52.59

Signed-off-by: Chuanyu Qin &lt;qinchuanyu@huawei.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: switch to use vhost_add_used_n()</title>
<updated>2013-09-04T02:46:57Z</updated>
<author>
<name>Jason Wang</name>
</author>
<published>2013-09-02T08:40:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c49e4e573be86acd36c747511ea5dc76be122206'/>
<id>urn:sha1:c49e4e573be86acd36c747511ea5dc76be122206</id>
<content type='text'>
Let vhost_add_used() to use vhost_add_used_n() to reduce the code
duplication. To avoid the overhead brought by __copy_to_user(). We will use
put_user() when one used need to be added.

Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vhost: Include linux/uio.h instead of linux/socket.h</title>
<updated>2013-08-20T22:05:04Z</updated>
<author>
<name>Asias He</name>
</author>
<published>2013-08-19T01:23:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35596b2796713c6a9dc05759837fa9f0e156a200'/>
<id>urn:sha1:35596b2796713c6a9dc05759837fa9f0e156a200</id>
<content type='text'>
memcpy_fromiovec is moved from net/core/iovec.c to lib/iovec.c.
linux/uio.h provides the declaration for memcpy_fromiovec.

Include linux/uio.h instead of inux/socket.h for it.

Signed-off-by: Asias He &lt;asias@redhat.com&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vhost: Make vhost a separate module</title>
<updated>2013-07-07T14:33:44Z</updated>
<author>
<name>Asias He</name>
</author>
<published>2013-05-06T08:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ac1afbf6132df0fcb0898f3509371305af7de16'/>
<id>urn:sha1:6ac1afbf6132df0fcb0898f3509371305af7de16</id>
<content type='text'>
Currently, vhost-net and vhost-scsi are sharing the vhost core code.
However, vhost-scsi shares the code by including the vhost.c file
directly.

Making vhost a separate module makes it is easier to share code with
other vhost devices.

Signed-off-by: Asias He &lt;asias@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: Simplify dev-&gt;vqs[i] access</title>
<updated>2013-07-07T11:38:26Z</updated>
<author>
<name>Asias He</name>
</author>
<published>2013-05-06T08:38:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d5e6aa860a33fdfcd07de658c8108027c06c329'/>
<id>urn:sha1:6d5e6aa860a33fdfcd07de658c8108027c06c329</id>
<content type='text'>
Signed-off-by: Asias He &lt;asias@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: check owner before we overwrite ubuf_info</title>
<updated>2013-06-11T09:46:21Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2013-06-06T12:20:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05c05351943cc03bf5c77e86953b24ae6fb21368'/>
<id>urn:sha1:05c05351943cc03bf5c77e86953b24ae6fb21368</id>
<content type='text'>
If device has an owner, we shouldn't touch ubuf_info
since it might be in use.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vhost: drop virtio_net.h dependency</title>
<updated>2013-05-06T11:04:06Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2013-05-06T10:29:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7542a6b0d273ba4338028d39bc0e6e8cbfc68898'/>
<id>urn:sha1:7542a6b0d273ba4338028d39bc0e6e8cbfc68898</id>
<content type='text'>
There's no net specific code in vhost.c anymore,
don't include the virtio_net.h header.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: Export vhost_dev_set_owner</title>
<updated>2013-05-06T09:57:54Z</updated>
<author>
<name>Asias He</name>
</author>
<published>2013-05-06T03:15:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54db63c2ca153ebf0c868cdf79f52ec9e701d38c'/>
<id>urn:sha1:54db63c2ca153ebf0c868cdf79f52ec9e701d38c</id>
<content type='text'>
Signed-off-by: Asias He &lt;asias@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: fix error handling in RESET_OWNER ioctl</title>
<updated>2013-05-01T07:02:54Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2013-04-28T14:12:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=150b9e51ae975ca1fe468c565870fbc4a96e0574'/>
<id>urn:sha1:150b9e51ae975ca1fe468c565870fbc4a96e0574</id>
<content type='text'>
RESET_OWNER ioctl would leave the fd in a bad state if
memory allocation failed: device is stopped
but owner is not reset. Make state changes
after allocating memory, such that a failed
ioctl has no effect.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: move per-vq net specific fields out to net</title>
<updated>2013-05-01T07:02:53Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2013-04-28T12:51:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=81f95a55802be669b3191b2828c34006d0f04214'/>
<id>urn:sha1:81f95a55802be669b3191b2828c34006d0f04214</id>
<content type='text'>
This will remove the need for vhost scsi to pull
in virtio-net.h.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
</feed>
