<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/vhost, branch v3.0.30</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/vhost?h=v3.0.30</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/vhost?h=v3.0.30'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-05-30T01:44:15Z</updated>
<entry>
<title>vhost: support event index</title>
<updated>2011-05-30T01:44:15Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2011-05-19T23:10:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8ea8cf89e19aeb596b818ee5f2bec8a8b0586b60'/>
<id>urn:sha1:8ea8cf89e19aeb596b818ee5f2bec8a8b0586b60</id>
<content type='text'>
Support the new event index feature. When acked,
utilize it to reduce the # of interrupts sent to the guest.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>Correct occurrences of</title>
<updated>2011-05-06T16:27:55Z</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2011-05-06T16:27:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=61516587513c84ac26e68e3ab008dc6e965d0378'/>
<id>urn:sha1:61516587513c84ac26e68e3ab008dc6e965d0378</id>
<content type='text'>
- Documentation/kvm/ to Documentation/virtual/kvm
- Documentation/uml/ to Documentation/virtual/uml
- Documentation/lguest/ to Documentation/virtual/lguest
throughout the kernel source tree.

Signed-off-by: Rob Landley &lt;rob@landley.net&gt;
Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
</content>
</entry>
<entry>
<title>vhost-net: remove unlocked use of receive_queue</title>
<updated>2011-03-13T21:08:19Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2011-03-13T21:00:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=de4d768a428d9de943dd6dc82bcd61742955cb6e'/>
<id>urn:sha1:de4d768a428d9de943dd6dc82bcd61742955cb6e</id>
<content type='text'>
Use of skb_queue_empty(&amp;sock-&gt;sk-&gt;sk_receive_queue)
without taking the sk_receive_queue.lock is unsafe
or useless. Take it out.

Reported-by:  Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: lock receive queue, not the socket</title>
<updated>2011-03-13T21:08:04Z</updated>
<author>
<name>Jason Wang</name>
<email>jasowang@redhat.com</email>
</author>
<published>2011-01-17T08:11:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=783e3988544b94ff3918666b9f36866ac547fba1'/>
<id>urn:sha1:783e3988544b94ff3918666b9f36866ac547fba1</id>
<content type='text'>
vhost takes a sock lock to try and prevent
the skb from being pulled from the receive queue
after skb_peek.  However this is not the right lock to use for that,
sk_receive_queue.lock is. Fix that up.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost-net: Unify the code of mergeable and big buffer handling</title>
<updated>2011-03-13T15:00:10Z</updated>
<author>
<name>Jason Wang</name>
<email>jasowang@redhat.com</email>
</author>
<published>2011-01-17T08:11:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=94249369e9930276e30087da205349a55478cbb5'/>
<id>urn:sha1:94249369e9930276e30087da205349a55478cbb5</id>
<content type='text'>
Codes duplication were found between the handling of mergeable and big
buffers, so this patch tries to unify them. This could be easily done
by adding a quota to the get_rx_bufs() which is used to limit the
number of buffers it returns (for mergeable buffer, the quota is
simply UIO_MAXIOV, for big buffers, the quota is just 1), and then the
previous handle_rx_mergeable() could be resued also for big buffers.

Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost-net: check the support of mergeable buffer outside the receive loop</title>
<updated>2011-03-13T14:57:30Z</updated>
<author>
<name>Jason Wang</name>
<email>jasowang@redhat.com</email>
</author>
<published>2011-01-17T08:10:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cfbdab951369f15de890597530076bf0119361be'/>
<id>urn:sha1:cfbdab951369f15de890597530076bf0119361be</id>
<content type='text'>
No need to check the support of mergeable buffer inside the recevie
loop as the whole handle_rx()_xx is in the read critical region.  So
this patch move it ahead of the receiving loop.

Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: copy_from_user -&gt; __copy_from_user</title>
<updated>2011-03-08T16:03:05Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2011-03-06T11:33:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fcc042a2806064ffcaed7a0c5cb710eca0e99108'/>
<id>urn:sha1:fcc042a2806064ffcaed7a0c5cb710eca0e99108</id>
<content type='text'>
copy_from_user is pretty high on perf top profile,
replacing it with __copy_from_user helps.
It's also safe because we do access_ok checks during setup.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: Cleanup vhost.c and net.c</title>
<updated>2011-03-08T16:02:47Z</updated>
<author>
<name>Krishna Kumar</name>
<email>krkumar2@in.ibm.com</email>
</author>
<published>2011-03-01T11:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d47effe1be0c4fc983306a9c704632e3a087eed8'/>
<id>urn:sha1:d47effe1be0c4fc983306a9c704632e3a087eed8</id>
<content type='text'>
Minor cleanup of vhost.c and net.c to match coding style.

Signed-off-by: Krishna Kumar &lt;krkumar2@in.ibm.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: rcu annotation fixup</title>
<updated>2011-02-01T14:48:46Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2011-01-18T11:04:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5e18247b02d60a1ea4bf98c05e139461ca9aec64'/>
<id>urn:sha1:5e18247b02d60a1ea4bf98c05e139461ca9aec64</id>
<content type='text'>
When built with rcu checks enabled, vhost triggers
bogus warnings as vhost features are read without
dev-&gt;mutex sometimes, and private pointer is read
with our kind of rcu where work serves as a
read side critical section.

Fixing it properly is not trivial.
Disable the warnings by stubbing out the checks for now.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: fix signed/unsigned comparison</title>
<updated>2011-01-10T08:03:39Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2011-01-10T08:03:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0174b0c30a9de25dcb0d3049defcfad0c2947a36'/>
<id>urn:sha1:0174b0c30a9de25dcb0d3049defcfad0c2947a36</id>
<content type='text'>
To detect that a sequence number is done, we are doing math on unsigned
integers so the result is unsigned too. Not what was intended for the &lt;=
comparison. The result is user stuck forever in flush call.
Convert to int to fix this.

Further, get rid of ({}) to make code clearer.

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