<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/vhost/net.c, branch v3.0.30</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/vhost/net.c?h=v3.0.30</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/vhost/net.c?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>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: 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>Merge branch 'vhost-net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost</title>
<updated>2010-12-14T19:33:23Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-12-14T19:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9fe146aef44afe5ec677d8150b6ae94e09b773f7'/>
<id>urn:sha1:9fe146aef44afe5ec677d8150b6ae94e09b773f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vhost: fix typos in comment</title>
<updated>2010-12-09T13:39:15Z</updated>
<author>
<name>Jason Wang</name>
<email>jasowang@redhat.com</email>
</author>
<published>2010-11-29T05:48:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a290aec88a9c4747353ea7aa9b2569bd61297c3c'/>
<id>urn:sha1:a290aec88a9c4747353ea7aa9b2569bd61297c3c</id>
<content type='text'>
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: fix rcu check usage</title>
<updated>2010-11-25T09:29:16Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2010-11-14T15:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=11cd1a8b8cad1acfc140d9acce93762a9c140b20'/>
<id>urn:sha1:11cd1a8b8cad1acfc140d9acce93762a9c140b20</id>
<content type='text'>
Incorrect rcu check was used as rcu isn't done
under mutex here. Force check to 1 for now,
to stop it from complaining.

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