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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Schwidefsky
Date: Monday, March 17, 2008 - 2:21 am

On Fri, 2008-03-14 at 14:32 -0700, Zachary Amsden wrote:

Yes, on s390 the PTEs cannot be asynchronous because there is no need to
synchronize them in the first place. A mapping layer with all primitives
without using the SIE instruction will be difficult. For one we cannot
use the ESSA instruction which isolates the state changes and host page
table is tied to the SIE. The page state is stored in the page table
extension and the discard state is basically a specially marked invalid
pte in the host table. A mapping layer with some restrictions is
certainly possible.


If you have to walk the guest page tables you call into the guest, no ?
I would characterize this more as a ballooner since you need guest
activity to do the page stealing. The trick with guest page hinting is
that you do NOT call into the guest to do the discard. You'll a nested
page table for that I'm afraid.


We had quite a few of these racy failures. Nasty. Hard to find.

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.


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