From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: xen-devel@lists.xenproject.org,
Julien Grall <julien.grall@arm.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Jan Beulich <jbeulich@suse.com>,
Ross Lagerwall <ross.lagerwall@citrix.com>
Subject: Is: Release-ack for 4.9, Is:Re: [PATCH for v4.9] livepatch: Wrong usage of spinlock on debug console.
Date: Sun, 11 Jun 2017 08:15:03 -0400 [thread overview]
Message-ID: <20170611121503.GA8812@char.us.oracle.com> (raw)
In-Reply-To: <2fb01e48-9a1f-170f-c635-43a07d2c6029@oracle.com>
On Fri, Jun 09, 2017 at 01:12:10PM -0400, Boris Ostrovsky wrote:
> On 06/09/2017 10:16 AM, Konrad Rzeszutek Wilk wrote:
> > If we have a large amount of livepatches and want to print them
> > on the console using 'xl debug-keys x' we eventually hit
> > the preemption check:
> >
> > if ( i && !(i % 64) )
> > {
> > spin_unlock(&payload_lock);
> > process_pending_softirqs();
> > if ( spin_trylock(&payload_lock) )
> > return
> >
> > <facepalm> The effect is that we have just effectively
> > taken the lock and returned without unlocking!
> >
> > CC: Ross Lagerwall <ross.lagerwall@citrix.com>
> > CC: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> > CC: Jan Beulich <jbeulich@suse.com>
> > CC: Andrew Cooper <andrew.cooper3@citrix.com>
> > CC: Julien Grall <julien.grall@arm.com>
Julien, could you Release-Ack it for 4.9 please?
> > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
>
>
> Reviewed-and-tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-06-11 12:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 14:16 [PATCH for v4.9] livepatch: Wrong usage of spinlock on debug console Konrad Rzeszutek Wilk
2017-06-09 14:53 ` Jan Beulich
2017-06-09 15:05 ` Ross Lagerwall
2017-06-09 17:12 ` Boris Ostrovsky
2017-06-11 12:15 ` Konrad Rzeszutek Wilk [this message]
2017-06-12 11:08 ` Is: Release-ack for 4.9, Is:Re: " Julien Grall
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=20170611121503.GA8812@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=andrew.cooper3@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=jbeulich@suse.com \
--cc=julien.grall@arm.com \
--cc=ross.lagerwall@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/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).