From: Avi Kivity Subject: Re: [patch 2/2]: introduce fast_gup Date: Tue, 22 Apr 2008 10:19:08 +0300 Message-ID: <480D916C.4030100@qumranet.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080422032319.GB21993-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org> Sender: linux-arch-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: To: Nick Piggin Cc: Peter Zijlstra , Linus Torvalds , Andrew Morton , shaggy-V7BBcbaFuwjMbYB6QlFGEg@public.gmane.org, axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Clark Williams , Ingo Molnar , "H. Peter Anvin" 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