* [Qemu-devel] Physical memory temp file.
@ 2004-06-18 15:18 Gianni Tedesco
0 siblings, 0 replies; only message in thread
From: Gianni Tedesco @ 2004-06-18 15:18 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
Hi,
In, vl.c at around line 2480, we see this comment:
/* as we must map the same page at several addresses, we must use
a fd */
and then go futzing around in /tmp
Seems to me like we could simply map /dev/zero with MAP_PRIVATE, that
way we:
o Don't generate disk I/O's when using memory
o Don't take up a node in temp
o Don't take up diskspace on filesystems which can't create sparse
files
o Still allow mapping same page at several addresses
Would a patch to fix this be accepted? Or is my (very cursory) analysis
incorrect?
--
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-18 15:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-18 15:18 [Qemu-devel] Physical memory temp file Gianni Tedesco
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).