>Arnd Bergmann wrote: >> >> Another driver you might want to look at is the Xen balloon driver: >> http://81.161.245.2/lxr/http/source/linux-2.6-xen- >sparse/drivers/xen/balloon/balloon.c >> >> The s390 driver is probably a better example though. One thing the >> Xen one got wrong is that its interface requires you do an hcall in >> order to get back a page that you gave up to the host. > >Er, that's what we do :)
I don't think it a disadvantage since it's happens rarely. It's not performance sensitive thing. Never the less it's worth learning/copying from the alternatives. 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. > >> On s390, it >> simply maps the host empty_zero_page as COW into the guest like >> the initial memory, so you get a new page back with the regular >> method whenever you write to the guest real page. >> > >This has the advantage of surviving a guest reboot, but the disadvantage >of not allowing the host to nack the request. > >-- >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=DEVD EV >_______________________________________________ >kvm-devel mailing list >kvm-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/kvm-devel ------------------------------------------------------------------------- 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 _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel