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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] dom0 pvops crash

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] dom0 pvops crash
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: 2010年1月27日 22:03:19 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: 2010年1月27日 12:03:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B60955E.4080308@xxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C783A22C.7599%keir.fraser@xxxxxxxxxxxxx> <4B5DF8E5.9040906@xxxxxxxx> <1264613173.16526.97718.camel@xxxxxxxxxxxxxxxxxxxxxx> <4B608AE2.1020501@xxxxxxxx> <1264619930.2392.248.camel@xxxxxxxxxxxxxxxxxxxxx> <4B60955E.4080308@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008年05月17日)
On Wed, Jan 27, 2010 at 11:34:54AM -0800, Jeremy Fitzhardinge wrote:
> On 01/27/2010 11:18 AM, Ian Campbell wrote:
>>> That's a thought. It could be generally useful too; highpte should only
>>> be used in extreme circumstances (to prevent ptes from filling most of
>>> lowmem), not on every system with highmem. IOW use a generic flag
>>> rather than make it explicitly Xen-related, then we can set that flag.
>>> 
>> I think this is the most plausible idea. Need to think about what
>> criteria would be used to set the flag on native, simply raw RAM size?
>> i.e. you wouldn't use HIGHPTE on a 4G system, even if CONFIG_HIGHPTE is
>> enabled, but where would the cut-off be?
>>
>> Rather than a flag I guess I'd make a pte_gfp variable which could be
>> modified to suit.
>> 
>
> Well, you could try heuristicing it up, but I suspect a simpler approach 
> is just a variable which is enabled by command line and/or config 
> option. HIGHPTE is an arch-independent concept, but the policy for 
> defaulting it is arch-specific; on x86 it should almost always be off.
>
>>> Or we could just put a big fat config dependency in.
>>> 
>> I'd imagine that seemingly random "depends !XEN" would be unpopular
>> upstream.
>> 
>
> I was thinking the other way around; Xen depends on !HIGHPTE. But a 
> runtime switch would be just as good.
>
Maybe a stupid question, but how is this stuff handled in linux-2.6.18-xen ?
-- Pasi
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] dom0 pvops crash , Jeremy Fitzhardinge
Next by Date: Re: [Xen-devel] dom0 pvops crash , Jeremy Fitzhardinge
Previous by Thread: Re: [Xen-devel] dom0 pvops crash , Jeremy Fitzhardinge
Next by Thread: Re: [Xen-devel] dom0 pvops crash , Jeremy Fitzhardinge
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /