Re: [PATCH] always assign userspace_addr

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Anthony Liguori
Date: Wednesday, November 19, 2008 - 11:51 am

Glauber Costa wrote:

That's not how I read the code.  I see:


And it's called as kvm_free_physmem_slot(&old, &new);

new is assigned to old to start out with so old.rmap will equal new.rmap.


If a memory slot exists, the current code always deletes it and creates 
a new one so this problem shouldn't exist.  See


But the problem still exists even with this code.  I checked.

So if you have something working without modifying the kernel, can you 
post it?

Regards,

Anthony Liguori
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] always assign userspace_addr, Glauber Costa, (Mon Nov 17, 8:04 pm)
Re: [PATCH] always assign userspace_addr, Anthony Liguori, (Wed Nov 19, 8:55 am)
Re: [PATCH] always assign userspace_addr, Glauber Costa, (Wed Nov 19, 11:43 am)
Re: [PATCH] always assign userspace_addr, Anthony Liguori, (Wed Nov 19, 11:51 am)
Re: [PATCH] always assign userspace_addr, Glauber Costa, (Wed Nov 19, 1:53 pm)
Re: [PATCH] always assign userspace_addr, Anthony Liguori, (Wed Nov 19, 1:59 pm)
Re: [PATCH] always assign userspace_addr, Avi Kivity, (Thu Nov 20, 4:01 am)
Re: [PATCH] always assign userspace_addr, Avi Kivity, (Thu Nov 20, 4:02 am)
Re: [PATCH] always assign userspace_addr, Glauber Costa, (Fri Nov 21, 11:11 am)
Re: [PATCH] always assign userspace_addr, Glauber Costa, (Mon Nov 24, 6:08 am)
Re: [PATCH] always assign userspace_addr, Avi Kivity, (Tue Nov 25, 7:04 am)