All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Swapping directly to host swap area?
@ 2004-01-25 23:34 William Stearns
  2004-01-27  3:01 ` Dan Shearer
  2004-01-28  4:39 ` Jeff Dike
  0 siblings, 2 replies; 11+ messages in thread
From: William Stearns @ 2004-01-25 23:34 UTC (permalink / raw)
  To: ML-uml-devel; +Cc: William Stearns

Good evening, Jeff, all,
	Please feel free to file this in the "Damn, I wish Bill would 
read kernel source and get a clue" category if appropriate... :-)

	When a VM needs to swap out, is there some way the UML kernel
could send that sector directly to the host swap area instead of running
its own swap?  In the current setup, the host kernel sees this as a normal
write to an open file, caching it in the process and so not truly freeing
up the ram for a bit.  If the UML swapout routine handed the sector to the
host swapout routine, it might get freed faster.
	I don't _see_ this as a security concern; only root on the host 
could read the host swap directly; if anything this looks more secure than 
the swap file readable by the user under which uml runs on the host.

	Again, my apologies if my random ravings have no value in the real 
world.  Feel free to respond with nothing more than "not useful".  :-)
	Cheers,
	- Bill

---------------------------------------------------------------------------
        "Got me an office; I'm there late at night.
        Just send me e-mail, maybe I'll write."
        -- Joe Walsh for the 21st Century
(Courtesy of Bruce Tong <zztong@laxmi.ev.net>)
--------------------------------------------------------------------------
William Stearns (wstearns@pobox.com).  Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at:   http://www.stearns.org
--------------------------------------------------------------------------



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-03-19 16:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-25 23:34 [uml-devel] Swapping directly to host swap area? William Stearns
2004-01-27  3:01 ` Dan Shearer
2004-01-28  4:39 ` Jeff Dike
2004-01-28 14:01   ` [uml-devel] O_DIRECT (was: Swapping directly to host swap area?) Goetz Bock
2004-01-30 17:27     ` Jeff Dike
2004-02-05 16:59   ` [uml-devel] Swapping directly to host swap area? BlaisorBlade
2004-02-11  0:43     ` Jeff Dike
2004-02-12 19:08       ` BlaisorBlade
2004-02-12 21:36         ` Jeff Dike
2004-03-19  5:51   ` William Stearns
2004-03-19 16:58     ` Matt Ayres

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.