From: Gianni Tedesco <gianni@scaramanga.co.uk>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Physical memory temp file.
Date: Fri, 18 Jun 2004 16:18:05 +0100 [thread overview]
Message-ID: <1087571885.3375.168.camel@sherbert> (raw)
[-- 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 --]
reply other threads:[~2004-06-18 15:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1087571885.3375.168.camel@sherbert \
--to=gianni@scaramanga.co.uk \
--cc=qemu-devel@nongnu.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 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.