linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Guest page hinting patches.
@ 2005-09-29 13:14 Martin Schwidefsky
  0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2005-09-29 13:14 UTC (permalink / raw)
  To: linux-mm; +Cc: frankeh, rhim

Hi folks,
the guest page hinting code I was talking about on the OLS finally runs
stable on our test system so I created a first set of patches for review.
There are 6 patches against 2.6.13 (yes I know I need to upgrade to
something more recent). I tried to split the patches into meaningful
parts to reduce the complexity of the whole thing a bit.

The patches:
1) Base patch. Introduces most of the common code. It adds two new page
   flags for serializing page state changes and to identify discarded
   pages. I would like to avoid adding page flags but failed to see a
   different solution in both cases. Another point of discussion would
   be the page->mapping/__remove_from_page_cache hack.
2) Mlock and friends. Adds special handling for mlocked pages. I use a
   field in the struct address_space to identify mlocked pages. Any
   betters ideas?
3) Support writable ptes. Adds another page flag (this makes 3 new page
   flags in total ..)
4) Minor fault vs. page state changes. 
5) Discarded page list. Ugly problem of virtual vs. absolute addresses
   on the discard fault. We tried talking the s390 architecture folks
   into providing virtual guest addresses but it seems that this is not
   possible with the current hardware.
6) s390 guest support for guest page hinting.

The patches do not include support for the host side of the equation.
For s390 this is implemented in the z/VM hypervisor. 

So, what do you think?

blue skies,
  Martin.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-29 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-29 13:14 [RFC] Guest page hinting patches Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox