qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCHv2 1/3] qemu: memory notifiers


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCHv2 1/3] qemu: memory notifiers
Date: Mon, 18 Jan 2010 16:52:10 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0

On 01/18/2010 04:44 PM, Michael S. Tsirkin wrote:

The point is that clients can be registered at any point.

A client that registered when memory is present needs to
be notified about it.

It looks very expensive.
Shouldn't be hard to optimize ...

It's O(memory size), which can be very big.

Maybe we mandate clients be registered at init-time?

This might be tricky - vhost currently only registers when the
first device is hot-added.

I see.

Maybe coalesce adjacent pages and call the callback with the ranges?

--
error compiling committee.c: too many arguments to function





reply via email to

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