From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755472AbYBPI6V (ORCPT ); Sat, 16 Feb 2008 03:58:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751885AbYBPI6A (ORCPT ); Sat, 16 Feb 2008 03:58:00 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:57811 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754814AbYBPI56 (ORCPT ); Sat, 16 Feb 2008 03:57:58 -0500 Date: Sat, 16 Feb 2008 00:56:53 -0800 From: Andrew Morton To: Avi Kivity Cc: Christoph Lameter , Andrea Arcangeli , Robin Holt , Izik Eidus , kvm-devel@lists.sourceforge.net, Peter Zijlstra , general@lists.openfabrics.org, Steve Wise , Roland Dreier , Kanoj Sarcar , steiner@sgi.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com Subject: Re: [patch 1/6] mmu_notifier: Core code Message-Id: <20080216005653.353a62dc.akpm@linux-foundation.org> In-Reply-To: <47B6A2BE.6080201@qumranet.com> References: <20080215064859.384203497@sgi.com> <20080215064932.371510599@sgi.com> <20080215193719.262c03a1.akpm@linux-foundation.org> <47B6A2BE.6080201@qumranet.com> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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? 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? From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 16 Feb 2008 00:56:53 -0800 From: Andrew Morton Subject: Re: [patch 1/6] mmu_notifier: Core code Message-Id: <20080216005653.353a62dc.akpm@linux-foundation.org> In-Reply-To: <47B6A2BE.6080201@qumranet.com> 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 Sender: owner-linux-mm@kvack.org Return-Path: To: Avi Kivity Cc: Christoph Lameter , Andrea Arcangeli , Robin Holt , Izik Eidus , kvm-devel@lists.sourceforge.net, Peter Zijlstra , general@lists.openfabrics.org, Steve Wise , Roland Dreier , Kanoj Sarcar , steiner@sgi.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com List-ID: 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? -- 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