Re: Merging adjacent memory slots

2008-08-06 Thread Glauber Costa
On Wed, Aug 6, 2008 at 2:47 PM, Daniel Godás <[EMAIL PROTECTED]> wrote: > As you pointed out, i was just replying to you instead of the list > (thx for that) so heres my last message and my answer to you answer: > > The problem i see is that slots are a scarce resource (i think they > are limited t

Re: Merging adjacent memory slots

2008-08-06 Thread Daniel Godás
As you pointed out, i was just replying to you instead of the list (thx for that) so heres my last message and my answer to you answer: The problem i see is that slots are a scarce resource (i think they are limited to 8 now) and they shouldnt be wasted. There are some cases in which we could run

Re: Merging adjacent memory slots

2008-08-05 Thread Glauber Costa
On Tue, Aug 5, 2008 at 5:09 PM, Daniel Godás <[EMAIL PROTECTED]> wrote: > Yep, im actually writing an io emulator that could substitute qemu. My > intention is to make virtual device development easy enough to keep up > with the evolution of real hardware. Many real devices can remap their > io ran

Re: Merging adjacent memory slots

2008-08-05 Thread Glauber Costa
On Tue, Aug 5, 2008 at 4:41 PM, Daniel Godás <[EMAIL PROTECTED]> wrote: > Hi, > > i've playing with libkvm.c and tried to make register_slot a bit more > intelligent. The code in the repository always creates a new slot when > register_slot is called but to give memory management more flexibility >

Merging adjacent memory slots

2008-08-05 Thread Daniel Godás
Hi, i've playing with libkvm.c and tried to make register_slot a bit more intelligent. The code in the repository always creates a new slot when register_slot is called but to give memory management more flexibility it could detect adjacent slots and merge them automatically. I attach a patch that