public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: memory hotplug for guests?
Date: Thu, 05 Apr 2007 17:31:17 +0300	[thread overview]
Message-ID: <46150835.80700@qumranet.com> (raw)
In-Reply-To: <200704051617.18936.arnd-r2nGTMty4D4@public.gmane.org>

Arnd Bergmann wrote:
> On Thursday 05 April 2007, Dor Laor wrote:
>   
>> Currently the only memory-over-commit mechanism is the balloon.
>> In the future we will add all the wise spectrum of host demand pages,
>> shared pages, etc.
>>     
>
> Ok, just as another hint: you should definitely take a look at
> pfault_interrupt() in arch/s390/mm/fault.c, which manages notifications
> about host memory manangement, so that the guest can put a task to
> sleep that accesses a page on the host block device, instead of suspending
> the entire guest, while waiting for the page to come back.
>   

It's a lot simpler than I would have guessed... this could be quite 
easily ported to kvm, once we have guest swap.


> arch/s390/mm/extmem.c has another very interesting concept, though the
> hcall interfaces used there are not as flexible as they should be in
> kvm. It's basically about mapping host files into the guest real address
> space, e.g. for shared memory between guests.
>   

This, too, is interesting, though it means guest apps need to be written 
to take advantage of it.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

  parent reply	other threads:[~2007-04-05 14:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-04 11:13 memory hotplug for guests? Tomasz Chmielewski
     [not found] ` <4613886F.5070408-Nem3ZqsbT/g@public.gmane.org>
2007-04-04 11:42   ` Dor Laor
     [not found]     ` <64F9B87B6B770947A9F8391472E032160B318D11-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-04-05 10:16       ` Heiko Carstens
     [not found]         ` <20070405101608.GB8025-Pmgahw53EmNLmI7Nx2oIsGnsbthNF6/HVpNB7YpNyf8@public.gmane.org>
2007-04-05 11:52           ` Dor Laor
     [not found]             ` <64F9B87B6B770947A9F8391472E032160B319410-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-04-05 12:28               ` Arnd Bergmann
     [not found]                 ` <200704051428.17198.arnd-r2nGTMty4D4@public.gmane.org>
2007-04-05 12:39                   ` Avi Kivity
     [not found]                     ` <4614EE12.7060702-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-05 12:50                       ` Dor Laor
     [not found]                         ` <64F9B87B6B770947A9F8391472E032160B31944E-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-04-05 14:17                           ` Arnd Bergmann
     [not found]                             ` <200704051617.18936.arnd-r2nGTMty4D4@public.gmane.org>
2007-04-05 14:31                               ` Avi Kivity [this message]
     [not found]                                 ` <46150835.80700-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-05 14:41                                   ` Arnd Bergmann
     [not found]                                     ` <200704051641.49792.arnd-r2nGTMty4D4@public.gmane.org>
2007-04-05 14:48                                       ` Dor Laor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46150835.80700@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox