From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752766AbYAWTri (ORCPT ); Wed, 23 Jan 2008 14:47:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751379AbYAWTr3 (ORCPT ); Wed, 23 Jan 2008 14:47:29 -0500 Received: from relay1.sgi.com ([192.48.171.29]:33616 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751393AbYAWTr3 (ORCPT ); Wed, 23 Jan 2008 14:47:29 -0500 Date: Wed, 23 Jan 2008 11:47:27 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Andrea Arcangeli cc: Robin Holt , Avi Kivity , Izik Eidus , Andrew Morton , Nick Piggin , kvm-devel@lists.sourceforge.net, Benjamin Herrenschmidt , steiner@sgi.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com, Hugh Dickins Subject: Re: [kvm-devel] [PATCH] export notifier #1 In-Reply-To: <20080123105246.GG26420@sgi.com> Message-ID: References: <478F9C9C.7070500@qumranet.com> <20080117193252.GC24131@v2.random> <20080121125204.GJ6970@v2.random> <4795F9D2.1050503@qumranet.com> <20080122144332.GE7331@v2.random> <20080122200858.GB15848@v2.random> <20080122223139.GD15848@v2.random> <479716AD.5070708@qumranet.com> <20080123105246.GG26420@sgi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Jan 2008, Robin Holt wrote: > > That won't work for kvm. If we have a hundred virtual machines, that means > > 99 no-op notifications. > > But 100 callouts holding spinlocks will not work for our implementation > and even if the callouts are made with spinlocks released, we would very > strongly prefer a single callout which messages the range to the other > side. Andrea wont have 99 no op notifications. You will have one notification to the kvm subsystem (since there needs to be only one register operation for a subsystem that wants to get notifications). What do you do there is up to kvm. If you want to call some function 99 times then you are free to do that.