From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <480D916C.4030100@qumranet.com> Date: Tue, 22 Apr 2008 10:19:08 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [patch 2/2]: introduce fast_gup References: <20080328025455.GA8083@wotan.suse.de> <20080328030023.GC8083@wotan.suse.de> <1208444605.7115.2.camel@twins> <480C81C4.8030200@qumranet.com> <1208781013.7115.173.camel@twins> <480C9619.2050201@qumranet.com> <1208788547.7115.204.camel@twins> <20080422032319.GB21993@wotan.suse.de> In-Reply-To: <20080422032319.GB21993@wotan.suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: Peter Zijlstra , Linus Torvalds , Andrew Morton , shaggy@austin.ibm.com, axboe@kernel.dk, linux-mm@kvack.org, linux-arch@vger.kernel.org, Clark Williams , Ingo Molnar , "H. Peter Anvin" List-ID: Nick Piggin wrote: > That's horrible ;) > > Anyway guys you are missing the other side of the equation -- that whenever > _PAGE_PRESENT is cleared, all CPUs where current->mm might be == mm have to > have a tlb flush. And we're holding off tlb flushes in fast_gup, that's the > whole reason why it all works. > > Ah, clever. Thanks. -- error compiling committee.c: too many arguments to function -- 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