login
Header Space

 
 

Re: [patch 0/6] Guest page hinting version 6.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Hugh Dickins <hugh@...>, Martin Schwidefsky <schwidefsky@...>, <linux-kernel@...>, <linux-s390@...>, <virtualization@...>, <akpm@...>, <nickpiggin@...>, <frankeh@...>, <rusty@...>, <andrea@...>, <clameter@...>, <a.p.zijlstra@...>, Keir Fraser <keir@...>, Ian Pratt <ian.pratt@...>
Date: Friday, March 14, 2008 - 5:32 pm

On Fri, 2008-03-14 at 11:30 -0700, Jeremy Fitzhardinge wrote:

It needn't be that hard on s390, I believe you don't need to worry about
PTEs becoming asynchronous when stealing a page, since if I understand
the hypervisor architecture, there is a per-page mapping level
available, allowing you to generate discard faults on access.  It might
be possible to use this mapping layer without implementing a full blown
hypervisor.  Martin?

For x86, at discard time, you would have to manually walk and invalidate
any PTEs potentially mapping the discarded page, but there is already
this great thing called Xen paravirt-ops which actually does that for
completely different reasons (PT page protection).

I think a random exponential distribution for discard would be needed to
catch all the racey failure modes.

Zach

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

Messages in current thread:
[patch 0/6] Guest page hinting version 6., Martin Schwidefsky, (Wed Mar 12, 9:21 am)
Re: [patch 0/6] Guest page hinting version 6., Hugh Dickins, (Thu Mar 13, 12:57 pm)
Re: [patch 0/6] Guest page hinting version 6., Martin Schwidefsky, (Tue May 6, 11:33 am)
Re: [patch 0/6] Guest page hinting version 6., Rik van Riel, (Tue May 6, 3:46 pm)
Re: [patch 0/6] Guest page hinting version 6., Zachary Amsden, (Tue May 6, 11:49 pm)
Re: [patch 0/6] Guest page hinting version 6., Martin Schwidefsky, (Wed May 7, 3:00 am)
Re: [patch 0/6] Guest page hinting version 6., Jeremy Fitzhardinge, (Thu Mar 13, 2:41 pm)
Re: [patch 0/6] Guest page hinting version 6., Hugh Dickins, (Thu Mar 13, 2:55 pm)
Re: [patch 0/6] Guest page hinting version 6., Zachary Amsden, (Thu Mar 13, 3:53 pm)
Re: [patch 0/6] Guest page hinting version 6., Jeremy Fitzhardinge, (Fri Mar 14, 2:30 pm)
Re: [patch 0/6] Guest page hinting version 6., Zachary Amsden, (Fri Mar 14, 5:32 pm)
Re: [patch 0/6] Guest page hinting version 6., Martin Schwidefsky, (Mon Mar 17, 5:21 am)
Re: [patch 0/6] Guest page hinting version 6., Jeremy Fitzhardinge, (Fri Mar 14, 5:37 pm)
Re: [patch 0/6] Guest page hinting version 6., Zachary Amsden, (Thu Mar 13, 1:45 pm)
Re: [patch 0/6] Guest page hinting version 6., Andrea Arcangeli, (Thu Mar 13, 3:45 pm)
Re: [patch 0/6] Guest page hinting version 6., Zachary Amsden, (Thu Mar 13, 5:41 pm)
Re: [patch 0/6] Guest page hinting version 6., Martin Schwidefsky, (Thu Mar 13, 1:14 pm)
Re: [patch 0/6] Guest page hinting version 6., Rusty Russell, (Wed Mar 12, 6:41 pm)
Re: [patch 0/6] Guest page hinting version 6., Martin Schwidefsky, (Thu Mar 13, 5:47 am)
speck-geostationary