From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH RFC] virtio_net: fix patch: virtio_net: limit xmit polling Date: Thu, 19 May 2011 17:00:17 +0930 Message-ID: <8739kb5era.fsf@rustcorp.com.au> References: <20110518220125.GA26835@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Michael S. Tsirkin" , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: "Michael S. Tsirkin" , habanero@linux.vnet.ibm.com, Shirley Ma , Krishna Kumar2 , kvm@vger.kernel.org, steved@us.ibm.com, Tom Return-path: In-Reply-To: <20110518220125.GA26835@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Thu, 19 May 2011 01:01:25 +0300, "Michael S. Tsirkin" wrote: > The patch virtio_net: limit xmit polling > got the logic reversed: it polled while we had > capacity not while ring was empty. > > Fix it up and clean up a bit by using a for loop. > > Signed-off-by: Michael S. Tsirkin > --- > > OK, turns out that patch was borken. Here's > a fix that survived stress test on my box. > Pushed on my branch, I'll send a rebased series > with Rusty's comments addressed ASAP. Normally you would have missed the merge window by now, but I'd really like this stuff in, so I'm holding it open for this. I want these patches in linux-next for at least a few days before I push them. If you think we're not close enough, please tell me and I'll push the rest of the virtio patches to Linus now. Thanks, Rusty.