qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/3] Object-based physical memory management


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 0/3] Object-based physical memory management
Date: Wed, 27 May 2009 09:08:37 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

Avi Kivity wrote:
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.

I like the basic notion here. Instead of introducing the API and converting one user, I'd rather do a flag day and convert everything.

Once we agree on the API of course.

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]