Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932876Ab1BYT7d (ORCPT ); Fri, 25 Feb 2011 14:59:33 -0500 Received: from smtp-out.google.com ([216.239.44.51]:59091 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932759Ab1BYT7b (ORCPT ); Fri, 25 Feb 2011 14:59:31 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=TlE9rjGZ5PKfe4SMrbgNihIEqV2CxzF5AKwZftj3NAmf0gqBlxBu/N/H0QYRi3RyDy vDe/YFv4R4wPd3ObCmVw== MIME-Version: 1.0 In-Reply-To: <1298663105.2428.2693.camel@twins> References: <20110217162327.434629380@chello.nl> <20110217163235.106239192@chello.nl> <1298565253.2428.288.camel@twins> <1298657083.2428.2483.camel@twins> <1298663105.2428.2693.camel@twins> Date: Fri, 25 Feb 2011 11:59:23 -0800 X-Google-Sender-Auth: VhgMgVeTMrqos7L2vtFfgFoS9MA Message-ID: Subject: Re: [PATCH 06/17] arm: mmu_gather rework From: Hugh Dickins To: Peter Zijlstra Cc: Andrea Arcangeli , Avi Kivity , Thomas Gleixner , Rik van Riel , Ingo Molnar , akpm@linux-foundation.org, Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Benjamin Herrenschmidt , David Miller , Mel Gorman , Nick Piggin , Paul McKenney , Yanmin Zhang , Russell King , "Luck,Tony" , PaulMundt Content-Type: text/plain; charset=UTF-8 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 19 On Fri, Feb 25, 2011 at 11:45 AM, Peter Zijlstra wrote: > Grmbl.. so doing that would require flush_tlb_range() to take an mm, not > a vma, but tile and arm both use the vma->flags & VM_EXEC test to avoid > flushing their i-tlbs. > > I'm tempted to make them flush i-tlbs unconditionally as its still > better than hitting an mm wide tlb flush due to the page table free. > > Ideas? What's wrong with using vma->vm_mm? Hugh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/