From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: mmu notifiers Date: Sat, 12 Jan 2008 21:56:58 +0200 Message-ID: <47891B8A.3030502@qumranet.com> References: <20080109181908.GS6958@v2.random> <47860512.3040607@qumranet.com> <20080110131612.GA1933@sgi.com> <47861D3C.6070709@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Daniel J Blueman , Andrea Arcangeli , Robin Holt To: Christoph Lameter Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Christoph Lameter wrote: > >> Excellent, the more users the patch has, the easier it will be to justify it. >> > > We'd like to make sure though that we can sleep when the hooks have been > called. We may have to sent a message to kick remote ptes out when local > pte changes happen. > > It may be as simple as moving the notifier calls down to a sleeping context, away from the pte lock and any friends. kvm also needs to send a message on an mmu notification, but that's just an IPI within the same host. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <47891B8A.3030502@qumranet.com> Date: Sat, 12 Jan 2008 21:56:58 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [kvm-devel] mmu notifiers References: <20080109181908.GS6958@v2.random> <47860512.3040607@qumranet.com> <20080110131612.GA1933@sgi.com> <47861D3C.6070709@qumranet.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Robin Holt , Andrea Arcangeli , kvm-devel@lists.sourceforge.net, linux-mm@kvack.org, Daniel J Blueman List-ID: Christoph Lameter wrote: > >> Excellent, the more users the patch has, the easier it will be to justify it. >> > > We'd like to make sure though that we can sleep when the hooks have been > called. We may have to sent a message to kick remote ptes out when local > pte changes happen. > > It may be as simple as moving the notifier calls down to a sleeping context, away from the pte lock and any friends. kvm also needs to send a message on an mmu notification, but that's just an IPI within the same host. -- Any sufficiently difficult bug is indistinguishable from a feature. -- 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