From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757076AbYEQPjT (ORCPT ); Sat, 17 May 2008 11:39:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753657AbYEQPjI (ORCPT ); Sat, 17 May 2008 11:39:08 -0400 Received: from gate.crashing.org ([63.228.1.57]:40973 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753643AbYEQPjH (ORCPT ); Sat, 17 May 2008 11:39:07 -0400 Subject: Re: [PATCH] remove double indirection on tlb parameter to free_pgd_range()& Co From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org To: Jan Beulich Cc: Hugh Dickins , Jeremy Fitzhardinge , Andrea Arcangeli , Christoph Lameter , linux-kernel@vger.kernel.org In-Reply-To: <482DC4A9.76E4.0078.0@novell.com> References: <482C6917.76E4.0078.0@novell.com> <482DC4A9.76E4.0078.0@novell.com> Content-Type: text/plain Date: Sat, 17 May 2008 10:27:43 -0500 Message-Id: <1211038063.8297.133.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2008-05-16 at 16:30 +0100, Jan Beulich wrote: > >>> Hugh Dickins 16.05.08 16:39 >>> > > Pass mmu_gather** in the > > public interfaces, since we might want to add latency lockdrops later; > > but no attempt to do so yet, going by vma should itself reduce latency. > >... > >But, returning to the start, please let's hold yours back after all. > > If you want to keep and actively use the double indirection, would you > guarantee current semantics like ->mm and ->fullmm to always be what > was specified at the start of the operation? Verifying this was what > made me go through that call tree in the first place, and obviously this > is harder to verify when there is potential for the whole structure > pointed to to be replaced by another one. In my patches, I did drop the double indirection and just updated the fields inside of the batch. Worked fine. Ben.