Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757402Ab0GNS4Z (ORCPT ); Wed, 14 Jul 2010 14:56:25 -0400 Received: from one.firstfloor.org ([213.235.205.2]:40738 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756851Ab0GNS4Y (ORCPT ); Wed, 14 Jul 2010 14:56:24 -0400 Date: Wed, 14 Jul 2010 20:56:17 +0200 From: Andi Kleen To: Mathieu Desnoyers Cc: Andi Kleen , LKML , Linus Torvalds , Andrew Morton , Ingo Molnar , Peter Zijlstra , Steven Rostedt , Steven Rostedt , Frederic Weisbecker , Thomas Gleixner , Christoph Hellwig , Li Zefan , Lai Jiangshan , Johannes Berg , Masami Hiramatsu , Arnaldo Carvalho de Melo , Tom Zanussi , KOSAKI Motohiro , Tejun Heo Subject: Re: [patch 0/2] x86: NMI-safe trap handlers Message-ID: <20100714185617.GB22373@basil.fritz.box> References: <20100714154923.947138065@efficios.com> <20100714170606.GA22373@basil.fritz.box> <20100714170805.GC4955@Krystal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100714170805.GC4955@Krystal> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1116 Lines: 23 On Wed, Jul 14, 2010 at 01:08:05PM -0400, Mathieu Desnoyers wrote: > * Andi Kleen (andi@firstfloor.org) wrote: > > > x86_32 cannot use vmalloc_sync_all() to sychronize the TLBs from every > > > processes because the vmalloc area is mapped in a different address space for > > > > That doesn't make sense. vmalloc_all_sync() should work on 32bit too. > > It just needs to walk all processes and fix up every page table. > > Yeah, I've been taken aback when Tejun told me that a few moments ago. I > initially thought that vmalloc_sync_all() synchronized all page mappings of all > processes on x86_32. But apparently that does not seem to be the case. I'm > adding him in CC. Well it worked when it was originally written. That was for the case of a NMI handler in a module. If it doesn't work fix it. I don't think the NMI-safe fault is really needed with it. -Andi -- 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/