From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [RFC] Heterogeneous memory management (mirror process address space on a device mmu). Date: Sat, 10 May 2014 14:28:35 +1000 Message-ID: <1399696115.4481.48.camel@pasglop> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 , To: Jerome Glisse Return-path: In-Reply-To: <20140509012601.GA2906@gmail.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org 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