Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946398Ab2ESAOT (ORCPT ); Fri, 18 May 2012 20:14:19 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:64518 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968173Ab2ESANt convert rfc822-to-8bit (ORCPT ); Fri, 18 May 2012 20:13:49 -0400 MIME-Version: 1.0 In-Reply-To: <1337267329.4281.32.camel@twins> References: <1337133919-4182-1-git-send-email-minchan@kernel.org> <1337133919-4182-3-git-send-email-minchan@kernel.org> <4FB4B29C.4010908@kernel.org> <1337266310.4281.30.camel@twins> <1337267329.4281.32.camel@twins> Date: Sat, 19 May 2012 08:13:48 +0800 Message-ID: Subject: Re: [PATCH v2 3/3] x86: Support local_flush_tlb_kernel_range From: Alex Shi To: Peter Zijlstra Cc: Minchan Kim , Greg Kroah-Hartman , Nitin Gupta , Seth Jennings , Dan Magenheimer , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , Tejun Heo , David Howells , x86@kernel.org, Nick Piggin , Alex Shi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 24 On Thu, May 17, 2012 at 11:08 PM, Peter Zijlstra wrote: > On Thu, 2012-05-17 at 16:51 +0200, Peter Zijlstra wrote: >> >> Also, does it even work if the range happens to be backed by huge pages? >> IIRC we try and do the identity map with large pages wherever possible. > > OK, the Intel SDM seems to suggest it will indeed invalidate ANY mapping > to that linear address, which would include 2M and 1G pages. As for as I know, the 1GB TLB fold into 2MB now, and 2MB page still maybe fold into 4K page in TLB flush. We are tracking this. > > -- > 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/ . > Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ > Don't email: email@kvack.org -- 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/