Re: [patch 6/6] Guest page hinting: s390 support.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Wednesday, March 12, 2008 - 10:48 am

Martin Schwidefsky wrote:

Hm.  But a Vx page is writable isn't it?  It's just that its contents 
can go away at any time.  Or does the kernel treat Vx pages as strictly 
RO cached copies of other things?

It also seems to me that given you talking about "potentially volatile" 
as a distinct state, it would would be best to have a distinct 
state-setting function associated with it, so there's a 1:1 
correspondence between the code and the description.



No.  I misunderstood and thought that stable_if_present sets the Px 
state.  I'd overlooked the writable flag on page_set_volatile().


So you mean it will change Vr/Pr to Sr but everything else will fail?  
Are there there any other non-discarded states for Vx/Px?


Do mean just Vz here?  You say that Pz is never used.


Mainly, use identical terminology in code and description so they can be 
easily compared.  I found the diagram was quite helpful in understanding 
what's going on; feel free to include it in your documentation.

Updated .dot attached; I've updated it to include the page_set_volatile 
writable argument and the stable_if_present transitions; commented it, 
removed the self-edges which were cluttering things up.

Also, does a page go from Vz->Vr on guest memory write?  If so, does a 
clean page which goes from Pr->Vz->Vr lose its Px state in the process?

    J
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Wed Mar 12, 6:21 am)
Re: [patch 6/6] Guest page hinting: s390 support., Jeremy Fitzhardinge, (Wed Mar 12, 9:19 am)
Re: [patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Wed Mar 12, 9:28 am)
Re: [patch 6/6] Guest page hinting: s390 support., Jeremy Fitzhardinge, (Wed Mar 12, 9:44 am)
Re: [patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Wed Mar 12, 9:59 am)
Re: [patch 6/6] Guest page hinting: s390 support., Jeremy Fitzhardinge, (Wed Mar 12, 10:48 am)
Re: [patch 6/6] Guest page hinting: s390 support., Anthony Liguori, (Wed Mar 12, 1:04 pm)
Re: [patch 6/6] Guest page hinting: s390 support., Jeremy Fitzhardinge, (Wed Mar 12, 1:45 pm)
Re: [patch 6/6] Guest page hinting: s390 support., Anthony Liguori, (Wed Mar 12, 1:56 pm)
Re: [patch 6/6] Guest page hinting: s390 support., Jeremy Fitzhardinge, (Wed Mar 12, 2:36 pm)
Re: [patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Thu Mar 13, 2:32 am)
Re: [patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Thu Mar 13, 2:36 am)
Re: [patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Thu Mar 13, 2:42 am)
Re: [patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Thu Mar 13, 2:45 am)
Re: [patch 6/6] Guest page hinting: s390 support., Jeremy Fitzhardinge, (Thu Mar 13, 9:07 am)
Re: [patch 6/6] Guest page hinting: s390 support., Jeremy Fitzhardinge, (Thu Mar 13, 9:17 am)
Re: [patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Thu Mar 13, 9:55 am)
Re: [patch 6/6] Guest page hinting: s390 support., Jeremy Fitzhardinge, (Thu Mar 13, 10:05 am)
Re: [patch 6/6] Guest page hinting: s390 support., Martin Schwidefsky, (Thu Mar 13, 10:23 am)