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] FE driver and log dirty

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] FE driver and log dirty
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Mon, 14 Jul 2008 15:39:00 +0800
Cc:
Delivery-date: Mon, 14 Jul 2008 00:39:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4A0BE81.1AF3F%keir.fraser@xxxxxxxxxxxxx>
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: <D470B4E54465E3469E2ABBC5AFAC390F024D955E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C4A0BE81.1AF3F%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjlgcleH6AfAfjWTPSrkcaRDBcgVgAAVJukAAAXLwA=
Thread-topic: [Xen-devel] FE driver and log dirty
>From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx] 
>Sent: 2008年7月14日 15:28
>
>On 14/7/08 08:18, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>> **There must be some CPU issued accesses to target data page
>> before xen_suspend is invoked, if that page is serviced by BE driver
>> and has been dequeued from FE queues within the loop copy
>> process. Or else log dirty mode is not triggered to re-transimit that
>> page in next loop. **
>> 
>> Does that assumption always hold true for existing FE drivers?
>
>Not sure what you mean? There can be requests which the FE 
>re-queues after
>resume which have in fact already been satisfied (pre-suspend) 
>and even the
>response queued up in the old shared request/response ring. 
>The key is that
>replaying them is idempotent.
>

I can understand the replay trick here. My question is whether there're
some requests/responses got dequeued from FE driver and already 
sent to up level component, which however has not been ever accessed 
by CPU (e.g. only descriptor is accessed) before __xen_suspend is 
entered. Take network receive for example (I'm not familar with this 
path), is it possible that some data page is already queued in up level
protocol, and then suspend watch is triggered before receive process 
is scheduled, and unfortunately within that window the page has not 
been accessed yet? In this case, page becomes dirty in live migration 
process, but not get recoded by log dirty logic since it's only BE to 
access it...

Thanks,
Kevin

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

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