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]

[Xen-devel] BSS region in xen_in_range is incorrect

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: [Xen-devel] BSS region in xen_in_range is incorrect
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: 2010年4月22日 17:35:51 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2010年4月22日 02:37:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acrh/zKm6Wy3InEBQhuIQSO4VmUQ+A==
Thread-topic: BSS region in xen_in_range is incorrect
In c/s 21038, console_init_postirq frees default static ring buffer if a 
dynamic one was obtained. This makes dom0 can use the default static ring 
buffer which is in BSS region, but xen_in_range didn't remove the region from 
BSS region which won't be mapped in VT-d page table, so it causes problems when 
a device DMAs to that region. To fix this issue, 1) remove the freed region 
from BSS region in xen_in_range; 2) don't free default static ring buffer. 
Method 1) can fix it cleanly, but maybe need many changes. Method 2) is simple, 
but it wastes some resources.
Keir / Jan, what's your opinion?
Regards,
Weidong
_______________________________________________
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][PATCH] VMX: Add debug-key 'D' to dump EPT p2m table , Xu, Dongxiao
Next by Date: [Xen-devel] [PATCH 01/17] vmx: nest: fix CR4.VME in update_guest_cr , Qing He
Previous by Thread: [Xen-devel] New release candidate for Xen 3.4.3 , Keir Fraser
Next by Thread: Re: [Xen-devel] BSS region in xen_in_range is incorrect , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

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

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