Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934492AbYBCBdh (ORCPT ); Sat, 2 Feb 2008 20:33:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754012AbYBCBd2 (ORCPT ); Sat, 2 Feb 2008 20:33:28 -0500 Received: from host36-195-149-62.serverdedicati.aruba.it ([62.149.195.36]:48081 "EHLO mx.cpushare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753947AbYBCBd1 (ORCPT ); Sat, 2 Feb 2008 20:33:27 -0500 Date: Sun, 3 Feb 2008 02:33:23 +0100 From: Andrea Arcangeli To: Christoph Lameter Cc: Robin Holt , Avi Kivity , Izik Eidus , kvm-devel@lists.sourceforge.net, Peter Zijlstra , steiner@sgi.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, daniel.blueman@quadrics.com Subject: Re: [patch 1/3] mmu_notifier: Core code Message-ID: <20080203013323.GA7185@v2.random> References: <20080131045750.855008281@sgi.com> <20080131045812.553249048@sgi.com> <20080201035249.GE26420@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 814 Lines: 16 On Thu, Jan 31, 2008 at 07:58:40PM -0800, Christoph Lameter wrote: > Ok. Andrea wanted the same because then he can void the begin callouts. Exactly. I hope the page-pin will avoid me having to serialize the KVM page fault against the start/end critical section. BTW, I wonder if the start/end critical section API is intended to forbid scheduling inside it. In short I wonder if GRU can is allowed to take a spinlock in _range_start as last thing before returning, and to release that same spinlock in _range_end as first thing, and not to be forced to use a mutex. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/