qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Object-based physical memory management
@ 2009-05-24  9:29 Avi Kivity
  2009-05-24  9:29 ` [Qemu-devel] [PATCH 1/3] Add PhysicalMemoryRegion type Avi Kivity
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Avi Kivity @ 2009-05-24  9:29 UTC (permalink / raw)
  To: qemu-devel

Currently, qemu manages physical memory at a page granularity (and with
subpage, at a byte granularity).  This is expensive in memory and runtime
(requiring 8 bytes per page, and likely a cache miss on access), and is
difficult to manage: devices must remember their ranges so they can free
them, and the memory system has no insight into how memory is laid out.

This patchset introduces object-based memory management.  The first patch
adds objects and functions for memory regions; the second patch wraps this
for PCI; and the third converts RTL8139 as an example.

Avi Kivity (3):
  Add PhysicalMemoryRegion type
  Add PCI memory region registration
  Convert RTL8139 to use PCI memory regitration facility

 cpu-all.h    |   13 +++++++++
 exec.c       |   42 +++++++++++++++++++++++++++++++
 hw/pci.c     |   78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 hw/pci.h     |   26 +++++++++++++++++++
 hw/rtl8139.c |   15 +++-------
 5 files changed, 163 insertions(+), 11 deletions(-)

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

end of thread, other threads:[~2009-05-31 13:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-24  9:29 [Qemu-devel] [PATCH 0/3] Object-based physical memory management Avi Kivity
2009-05-24  9:29 ` [Qemu-devel] [PATCH 1/3] Add PhysicalMemoryRegion type Avi Kivity
2009-05-27 14:16   ` Christoph Hellwig
2009-05-27 15:07     ` Avi Kivity
2009-05-24  9:29 ` [Qemu-devel] [PATCH 2/3] Add PCI memory region registration Avi Kivity
2009-05-27 14:08   ` Anthony Liguori
2009-05-27 15:02     ` Avi Kivity
2009-05-27 15:11       ` Anthony Liguori
2009-05-27 15:24         ` Avi Kivity
2009-05-27 22:33           ` Anthony Liguori
2009-05-31 11:02             ` Christoph Hellwig
2009-05-31 11:50               ` Avi Kivity
2009-05-31 11:47             ` Avi Kivity
2009-05-31 13:52               ` Anthony Liguori
2009-05-31 13:03             ` Avi Kivity
2009-05-24  9:29 ` [Qemu-devel] [PATCH 3/3] Convert RTL8139 to use PCI memory regitration facility Avi Kivity
2009-05-27 14:08 ` [Qemu-devel] [PATCH 0/3] Object-based physical memory management Anthony Liguori
2009-05-27 14:54   ` Avi Kivity

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