[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH-for-4.13] x86/mm: don't needlessly veto migration



> -----Original Message-----
> From: Jan Beulich <jbeulich@xxxxxxxx>
> Sent: 01 October 2019 11:50
> To: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
> Cc: George Dunlap <George.Dunlap@xxxxxxxxxx>; Andrew Cooper 
> <Andrew.Cooper3@xxxxxxxxxx>; Roger Pau
> Monne <roger.pau@xxxxxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx; Juergen Gross 
> <jgross@xxxxxxxx>; Wei Liu
> <wl@xxxxxxx>
> Subject: Re: [Xen-devel] [PATCH-for-4.13] x86/mm: don't needlessly veto 
> migration
> 
> On 01.10.2019 12:40, Paul Durrant wrote:
> >> From: George Dunlap <george.dunlap@xxxxxxxxxx>
> >> Sent: 01 October 2019 11:34
> >>
> >> One thing we could imagine is that when specific devices have an active
> >> emulator (or whatever) propagating the dirty information, for that code
> >> to tell Xen, "I am implementing dirty tracking for this device".  Then
> >> when the toolstack enables logdirty, the check can be, "Are there any
> >> devices *that don't have external dirty tracking enabled* assigned to
> >> the guest?"
> >
> > And what about existing emulators setting pages dirty at the moment? I
> > don't see why Xen's internal dirty page logging is considered definitive
> > because AFAICT that is really not the case even now.
> 
> I don't think external emulators already setting pages dirty matter here.
> All they want/need to do is advertise which device(s) they take care of.
> These emulators actually _help_ Xen maintain a correct picture. What your
> patch imo does though is (further) weaken the current model.
> 

Well that's where we disagree. I don't think the hypervisor currently is the 
authoritative source of information on the state of the domain. IMO that is 
what the toolstack is for and Xen should not be refusing to provide its input 
to the dirty page tracking information simply because it may not have the 
complete picture.

  Paul

> Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.