[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3] Object-based physical memory management
From: |
Avi Kivity |
Subject: |
[Qemu-devel] [PATCH 0/3] Object-based physical memory management |
Date: |
Sun, 24 May 2009 12:29:32 +0300 |
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(-)
- [Qemu-devel] [PATCH 0/3] Object-based physical memory management,
Avi Kivity <=
- [Qemu-devel] [PATCH 1/3] Add PhysicalMemoryRegion type, Avi Kivity, 2009/05/24
- [Qemu-devel] [PATCH 2/3] Add PCI memory region registration, Avi Kivity, 2009/05/24
- Re: [Qemu-devel] [PATCH 2/3] Add PCI memory region registration, Anthony Liguori, 2009/05/27
- Re: [Qemu-devel] [PATCH 2/3] Add PCI memory region registration, Avi Kivity, 2009/05/27
- Re: [Qemu-devel] [PATCH 2/3] Add PCI memory region registration, Anthony Liguori, 2009/05/27
- Re: [Qemu-devel] [PATCH 2/3] Add PCI memory region registration, Avi Kivity, 2009/05/27
- Re: [Qemu-devel] [PATCH 2/3] Add PCI memory region registration, Anthony Liguori, 2009/05/27
- Re: [Qemu-devel] [PATCH 2/3] Add PCI memory region registration, Christoph Hellwig, 2009/05/31