xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Luis Henriques <luis.henriques@canonical.com>,
	Ian Campbell <ian.campbell@citrix.com>
Cc: xen-devel@lists.xensource.com,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Ian Jackson" <Ian.Jackson@eu.citrix.com>,
	"osstest service owner" <osstest-admin@xenproject.org>,
	stable@vger.kernel.org,
	"Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>,
	"David Vrabel" <david.vrabel@citrix.com>,
	"Jiri Slaby" <jslaby@suse.cz>
Subject: Re: [Xen-devel] [linux-3.14 bisection] complete test-amd64-i386-xl-qcow2
Date: Thu, 3 Sep 2015 12:16:39 +0100	[thread overview]
Message-ID: <55E82C17.2070907@citrix.com> (raw)
In-Reply-To: <20150903110554.GB2601@ares>

On 03/09/15 12:05, Luis Henriques wrote:
> On Wed, Sep 02, 2015 at 10:18:32AM +0100, Ian Campbell wrote:
>> [resending to correct stable address, sorry folks]
>>
>> TL;DR: Any backport of 30b03d05e074 to earlier than commit 1401c00e59e
>> ("xen/gntdev: convert priv->lock to a mutex", which was added in v4.0)
>> needs $something doing to it, either s/mutex/spinlock/ or (more likely)
>> backporting of 1401c00e59e too.
>>
>> Looking at LTS:
>>
>> 3.18.y:	  Backported both.
>> 3.16.y:	  Has backported neither
>> 3.14.y:	* Only backported 30b03d05e074
>> 3.12.y:	  Has backported neither
>> 3.10.y:	* Only backported 30b03d05e074
>> 3.4.y:	  Has backported neither
>> 3.2.y:	  Has backported neither
>>
>> So AFAICT 3.14.y and 3.10.y need fixes, probably following 3.18 and
>> backporting 1401c00e59e.
>>
>> 3.16/12/4/2 might need to be careful if they subsequently pick up 30b03d05.
>>
> 
> Thank you Ian.  In fact, I had explicitly dropped 30b03d05e074
> ("xen/gntdevt: Fix race condition in gntdev_release()") from the 3.16
> kernel and notified stable maintainers about this problem (in a reply to a
> 3.12 review email).
> 
> Simply replacing the mutex by the spinlock in this commit seems to cause
> problems (sleep in atomic) as pointed out by Jiri in other thread.
> 
> Since 1401c00e59ea ("xen/gntdev: convert priv->lock to a mutex") is a
> clean cherry-pick for 3.16 (and probably to older kernels as well), I'm
> happy to pick both commits if you can confirm they are both good for older
> stable kernels (they seem to be!)

You can take both 1401c00e59ea and 30b03d05e074.

David

  reply	other threads:[~2015-09-03 11:16 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-26 20:02 [linux-3.14 bisection] complete test-amd64-i386-xl-qcow2 osstest service owner
2015-09-01  9:19 ` Ian Campbell
2015-09-01  9:38   ` Fabio Fantoni
2015-09-01 10:10     ` Ian Campbell
2015-09-01  9:57   ` Ian Jackson
2015-09-01 10:05     ` Ian Campbell
2015-09-02  9:03       ` Ian Campbell
2015-09-02  9:18       ` Ian Campbell
2015-09-03 11:05         ` Luis Henriques
2015-09-03 11:16           ` David Vrabel [this message]
2015-09-03 12:21             ` [Xen-devel] " Luis Henriques
2015-09-11 15:10         ` Ian Campbell
2015-09-11 15:51           ` Greg Kroah-Hartman
2015-09-11 15:55             ` Ian Campbell
2015-09-26 17:30               ` Greg Kroah-Hartman
2015-09-28  9:27                 ` Ian Campbell
2015-09-28  9:43                   ` Ian Campbell
2015-10-08 22:14         ` Ben Hutchings
2015-10-09  9:15           ` Ian Campbell
2015-10-12 10:11           ` [Xen-devel] " David Vrabel
2015-10-12 12:56             ` Ben Hutchings
2015-10-12 13:01               ` David Vrabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55E82C17.2070907@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=ian.campbell@citrix.com \
    --cc=jslaby@suse.cz \
    --cc=luis.henriques@canonical.com \
    --cc=marmarek@invisiblethingslab.com \
    --cc=osstest-admin@xenproject.org \
    --cc=stable@vger.kernel.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).