WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [Fwd: stack overflow "cause" found]

To: "Rik van Riel" <riel@xxxxxxxxxx>, "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [Fwd: stack overflow "cause" found]
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Wed, 26 Jul 2006 15:29:40 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 26 Jul 2006 15:43:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acaw/+jBDSsF6QORSBCoFs3BRNv6tQAAthhg
Thread-topic: [Xen-devel] [Fwd: stack overflow "cause" found]
Rik van Riel wrote:
> Ian Pratt wrote:
>>>> Xen really should not be doing this.  We could either uninline
>>>> some of these functions, or try gcc -O2 or gcc -Os.
>>> OK, with -Os it doesn't quite build due to the built-ins not being
>>> inlined.  With -O2 the stack usage changes dramatically...
>> 
>> It would be nice if -O2 worked. Quite a scary change give the amount
>> of inline asm  though... 
> 
> Not only does -O2 seem to work, but without it we get stack
> overflows and things suddenly stop working.
> 
> I've been beating up my x86-64 system with a few VT and paravirt
> guests for over an hour now, and it no longer crashes.  Without
> -O2, I can make it crash within minutes...

Good news. We've been doing stress testings, and haven't seen major
problems so far.

Jun
---
Intel Open Source Technology Center

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>