From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f180.google.com (mail-qc0-f180.google.com [209.85.216.180]) by kanga.kvack.org (Postfix) with ESMTP id E785D6B0036 for ; Sat, 10 May 2014 00:29:51 -0400 (EDT) Received: by mail-qc0-f180.google.com with SMTP id i17so5610775qcy.39 for ; Fri, 09 May 2014 21:29:51 -0700 (PDT) Received: from gate.crashing.org (gate.crashing.org. [63.228.1.57]) by mx.google.com with ESMTPS id t1si2997768qga.72.2014.05.09.21.29.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 09 May 2014 21:29:51 -0700 (PDT) Message-ID: <1399696115.4481.48.camel@pasglop> Subject: Re: [RFC] Heterogeneous memory management (mirror process address space on a device mmu). From: Benjamin Herrenschmidt Date: Sat, 10 May 2014 14:28:35 +1000 In-Reply-To: <20140509012601.GA2906@gmail.com> References: <1399038730-25641-1-git-send-email-j.glisse@gmail.com> <20140506102925.GD11096@twins.programming.kicks-ass.net> <20140506150014.GA6731@gmail.com> <20140506153315.GB6731@gmail.com> <20140506161836.GC6731@gmail.com> <1399446892.4161.34.camel@pasglop> <20140509012601.GA2906@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Jerome Glisse Cc: Linus Torvalds , Peter Zijlstra , linux-mm , Linux Kernel Mailing List , linux-fsdevel , Mel Gorman , "H. Peter Anvin" , Andrew Morton , Linda Wang , Kevin E Martin , Jerome Glisse , Andrea Arcangeli , Johannes Weiner , Larry Woodman , Rik van Riel , Dave Airlie , Jeff Law , Brendan Conoboy , Joe Donohue , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard , Mark Hairgrove , Lucien Dunning , Cameron Buschardt , Arvind Gopalakrishnan , Haggai Eran , Or Gerlitz , Sagi Grimberg , Shachar Raindel , Liran Liss , Roland Dreier , "Sander, Ben" , "Stoner, Greg" , "Bridgman, John" , "Mantor, Michael" , "Blinzer, Paul" , "Morichetti, Laurent" , "Deucher, Alexander" , "Gabbay, Oded" , Davidlohr Bueso On Thu, 2014-05-08 at 21:26 -0400, Jerome Glisse wrote: > Otherwise i have no other choice than to add something like mmu_notifier > in the place where there can a be race (huge page split, cow, ...). Which > sounds like a bad idea to me when mmu_notifier is perfect for the job. Even there, how are you going to find a sleepable context ? All that stuff has the PTL held. Cheers, Ben. -- 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