qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] memory usage and ioports
@ 2007-11-19 15:20 Samuel Thibault
  2007-11-19 15:34 ` [Qemu-devel] " Samuel Thibault
  2008-02-06 14:24 ` [Qemu-devel] [PATCH] " Samuel Thibault
  0 siblings, 2 replies; 5+ messages in thread
From: Samuel Thibault @ 2007-11-19 15:20 UTC (permalink / raw)
  To: qemu-devel

Hi,

Qemu currently uses 6 65k tables of pointers for handling ioports, which
makes 3MB on 64bit machines. There's a comment that says "XXX: use a two
level table to limit memory usage". But wouldn't it be more simple and
effective to just allocate them through mmap() and when a NULL pointer
is read, call the default handlers?

Samuel

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

end of thread, other threads:[~2008-02-06 14:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-19 15:20 [Qemu-devel] memory usage and ioports Samuel Thibault
2007-11-19 15:34 ` [Qemu-devel] " Samuel Thibault
2007-11-19 16:17   ` Paul Brook
2007-11-19 16:23     ` Samuel Thibault
2008-02-06 14:24 ` [Qemu-devel] [PATCH] " Samuel Thibault

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).