From: "Jan Beulich" Subject: Re: question regarding 2.6.18 backport Date: Tue, 19 Feb 2013 14:39:54 +0000 Message-ID: <51239CCA02000078000BF729@nat28.tlf.novell.com> References: <20130219145105.6274e9ea@hawk.usersys.redhat.com> <1361282091.1051.101.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1361282091.1051.101.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , Andrew Jones Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 19.02.13 at 14:54, Ian Campbell wrote: > On Tue, 2013-02-19 at 13:51 +0000, Andrew Jones wrote: >> Hi Ian, >> >> I believe there's a problem with the 2.6.18 reference tree backport of >> 48856286b64e: "xen/netback: shutdown the ring if it contains garbage", >> which is c/s 1219. While the version in Linus' tree should be fine, >> as xen_netbk_tx_action runs in a kthread, the 2.6.18 version needs >> something different. In 2.6.18 net_tx_action is a tasklet, thus calling >> xenvif_carrier_off from it is problematic due to needing the rtnl >> mutex. A proposal I have that I haven't tried yet is for >> netbk_fatal_tx_err to schedule xenvif_carrier_off in a workqueue. This >> is a bit ugly though since the main point of xenvif_carrier_off is to >> queue linkwatch work. I'm wondering if you or anyone else have other >> suggestions. > > Jan was looking into something of this nature, not sure wht the status > is though. http://xenbits.xen.org/hg/linux-2.6.18-xen.hg/rev/ff0befcaac09 Jan