From: "Jan Beulich" Subject: Re: Xen PVM: Strange lockups when running PostgreSQL load Date: Fri, 19 Oct 2012 15:49:02 +0100 Message-ID: <5081847E02000078000A2A09@nat28.tlf.novell.com> References: <1350479456-4007-1-git-send-email-stefan.bader@canonical.com> <507EB27D.8050308@citrix.com> <1350482118.2460.74.camel@zakaz.uk.xensource.com> <507ECD06.2050407@canonical.com> <507ED038.8000806@citrix.com> <507FC51102000078000A235E@nat28.tlf.novell.com> <507FC71502000078000A236C@nat28.tlf.novell.com> <507FB1E1.8080700@canonical.com> <1350546483.28188.25.camel@dagon.hellion.org.uk> <507FD7DE.2010209@canonical.com> <507FFA5102000078000A250D@nat28.tlf.novell.com> <507FF964.9090009@canonical.com> <50806C0B.1060504@canonical.com> <5081264002000078000A2841@nat28.tlf.novell.com> <50811047.4080200@canonical.com> <5081387B02000078000A288D@nat28.tlf.novell.com> <50815DA1.10303@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50815DA1.10303@canonical.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: Stefan Bader Cc: Andrew Cooper , Konrad Rzeszutek Wilk , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 19.10.12 at 16:03, Stefan Bader wrote: > On 19.10.2012 11:24, Jan Beulich wrote: >>>>> On 19.10.12 at 10:33, Stefan Bader wrote: >>> I would be pragmatic here, none of the other current implementations seem >>> to re-enable interrupts and so this only affects xen pv. >> >> I don't think you really checked - the first arch I looked at (s390, as being >> the most obvious one to look at when it comes to virtualization) quite >> prominently re-enableds interrupts in arch_spin_lock_wait_flags(). > > No, I assumed that you saying native kernel did prior to ticket lock > conversion, I indeed did say that. Just go look back at the old code. Jan > that this involves more historic search. And yes s390 is doing > virtualization > quite a bit back into history. Just not paravirtualization. > And when I look at arch_spin_lock_wait_flags() enabling/disabling is done > close > by (at least I am not leaving off into some hypercall fog).