linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Page host virtual assist patches.
@ 2006-04-24 12:34 Martin Schwidefsky
  2006-04-25  1:01 ` Andrew Morton
  0 siblings, 1 reply; 23+ messages in thread
From: Martin Schwidefsky @ 2006-04-24 12:34 UTC (permalink / raw)
  To: linux-mm, akpm, frankeh, rhim

Third version of the page host virtual assist patches. The code has
been reduced in size, and (hopefully) the last races have been fixed.

The basic idea of host virtual assist (hva) is to give a host system
which virtualizes the memory of its guest systems on a per page basis
usage information for the guest pages. The host can then use this
information to optimize the management of guest pages, in particular
the paging. This optimizations can be used for unused (free) guest
pages, for clean page cache pages, and for clean swap cache pages.
The content of free pages can be replace with zeroes and the content
of clean page cache / swap cache pages can be reloaded by the guest
from the backing store.

There are 8 patches that implement hva:

1) Hva state changes for free pages.
2) Hva state changes for page cache pages.
3) Hva state changes for swap cache pages.
4) Keep mlocked pages in stable state.
5) Add support for writable page table entries.
6) Optimization for minor faults.
7) Discarded page list.
8) s390 architecture support for hva.

>From my point of view the patches have reached a state where they
can be considered for wider propagation. Unfortunatly I did not
get any feedback for the prior two versions of the patches, neither
negative nor positive.
I'm currently running -rc1-mm3 with the patches enabled on my s390
test systems and on my thinkpad (without CONFIG_PAGE_HVA). It works
as advertised on s390 and for i386 I could not find any negative
effects. The only noticable changes for i386 is that a bit of code
has moved out of try_to_unmap_one to the callers of the function
to make it usable for hva as well (see patch #02 page_hva_unmap_all
for details). This increases the size of the kernel image by a few
bytes.

Any chance to get the patches included into the -mm tree?

-- 
blue skies,
  Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

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

--
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] 23+ messages in thread

end of thread, other threads:[~2006-04-27 20:56 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-24 12:34 Page host virtual assist patches Martin Schwidefsky
2006-04-25  1:01 ` Andrew Morton
2006-04-25  7:19   ` Nick Piggin
2006-04-25  8:31     ` Martin Schwidefsky
2006-04-25  8:37       ` Andrew Morton
2006-04-25 10:44         ` Martin Schwidefsky
2006-04-25 16:29           ` Andrew Morton
2006-04-25 17:04             ` Martin Schwidefsky
2006-04-25 10:04       ` Nick Piggin
2006-04-25 11:28         ` Martin Schwidefsky
2006-04-25 12:13           ` Nick Piggin
2006-04-25 14:15             ` Martin Schwidefsky
2006-04-26  1:13               ` Nick Piggin
2006-04-26  7:39                 ` Martin Schwidefsky
2006-04-26 12:03                   ` Hubertus Franke
2006-04-27 20:55           ` jschopp
2006-04-25  8:10   ` Martin Schwidefsky
2006-04-25  8:26     ` Nick Piggin
2006-04-25 10:36       ` Martin Schwidefsky
2006-04-25 10:51         ` Nick Piggin
2006-04-25 12:18           ` Martin Schwidefsky
2006-04-25  8:30     ` Andrew Morton
2006-04-25 10:43       ` Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).