From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: [ofa-general] Re: [patch 1/6] mmu_notifier: Core code Date: Sat, 16 Feb 2008 00:56:53 -0800 Message-ID: <20080216005653.353a62dc.akpm@linux-foundation.org> References: <20080215064859.384203497@sgi.com> <20080215064932.371510599@sgi.com> <20080215193719.262c03a1.akpm@linux-foundation.org> <47B6A2BE.6080201@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kanoj@lists.openfabrics.org, steiner@sgi.com, Andrea Arcangeli , Peter Zijlstra , linux-mm@kvack.org, Izik Eidus , Sarcar , Roland Dreier , linux-kernel@vger.kernel.org, kvm-devel@lists.sourceforge.net, daniel.blueman@quadrics.com, Robin Holt , general@lists.openfabrics.org, Christoph Lameter To: Avi Kivity Return-path: In-Reply-To: <47B6A2BE.6080201@qumranet.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: general-bounces@lists.openfabrics.org Errors-To: general-bounces@lists.openfabrics.org List-Id: kvm.vger.kernel.org On Sat, 16 Feb 2008 10:45:50 +0200 Avi Kivity wrote: > Andrew Morton wrote: > > How important is this feature to KVM? > > > > Very. kvm pins pages that are referenced by the guest; hm. Why does it do that? > a 64-bit guest > will easily pin its entire memory with the kernel map. > So this is > critical for guest swapping to actually work. Curious. If KVM can release guest pages at the request of this notifier so that they can be swapped out, why can't it release them by default, and allow swapping to proceed? > > Other nice features like page migration are also enabled by this patch. > We already have page migration. Do you mean page-migration-when-using-kvm?