From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 15 Jan 2008 09:39:25 -0800 (PST) From: Christoph Lameter Subject: Re: [kvm-devel] mmu notifiers In-Reply-To: <478C62F8.2070702@qumranet.com> Message-ID: References: <20080109181908.GS6958@v2.random> <47860512.3040607@qumranet.com> <47891A5C.8060907@qumranet.com> <478C62F8.2070702@qumranet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Avi Kivity Cc: kvm-devel@lists.sourceforge.net, linux-mm@kvack.org, Daniel J Blueman , Andrea Arcangeli List-ID: On Tue, 15 Jan 2008, Avi Kivity wrote: > > Duh. Impossible. Two instances of Linux cannot share page structs. So how > > are you doing this? Or is this just an idea? > > I was describing one Linux host running two guest instances. The page structs > are in the host, so they are shared by mmap(). Ahh.. Okay I was talking about a guest exporting its memory to another guest. > kvm userspace is just an ordinary host process, it can mmap() any file it > likes and then assign that virtual memory range to the guest (as guest > physical memory). But then the guest does not have its own page struct to manage the memory. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org