Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932714Ab0GOPrK (ORCPT ); Thu, 15 Jul 2010 11:47:10 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:51064 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932457Ab0GOPrF (ORCPT ); Thu, 15 Jul 2010 11:47:05 -0400 MIME-Version: 1.0 In-Reply-To: References: <20100714170617.GB4955@Krystal> <20100714184642.GA9728@elte.hu> <20100714195617.GC22373@basil.fritz.box> <20100714200552.GA22096@Krystal> <20100714223116.GB14533@nowhere> <20100715141118.GA6417@nowhere> Date: Thu, 15 Jul 2010 08:38:51 -0700 Message-ID: Subject: Re: [patch 1/2] x86_64 page fault NMI-safe From: Linus Torvalds To: Frederic Weisbecker Cc: Mathieu Desnoyers , Andi Kleen , Ingo Molnar , LKML , Andrew Morton , Peter Zijlstra , Steven Rostedt , Steven Rostedt , Thomas Gleixner , Christoph Hellwig , Li Zefan , Lai Jiangshan , Johannes Berg , Masami Hiramatsu , Arnaldo Carvalho de Melo , Tom Zanussi , KOSAKI Motohiro , "H. Peter Anvin" , Jeremy Fitzhardinge , "Frank Ch. Eigler" , Tejun Heo Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1302 Lines: 28 On Thu, Jul 15, 2010 at 7:51 AM, Linus Torvalds wrote: > > So it's not the lazy page table fill that is the problem. Never has > been. We've been doing the lazy fill for a long time, and it was > simple and useful way back when. Btw, this is true to the degree that I would _much_ rather just get rid of the crazy "vmalloc_sync_all()" crap entirely, and make it clear that non-lazy vmalloc page table fill is a bug. Because quite frankly, it _is_ a bug to depend on non-lazy vmalloc. The whole function is only implemented on 32-bit x86, so any code that thinks it needs it is either just wrong, or will only work on 32-bit x86 anyway (and on other architectures by pure chance, likely because their VM fill granularity is so big that they never saw the problem). So getting rid of vmalloc_sync_all() entirely would be a good thing. Then we wouldn't have that silly and pointless interface, and we wouldn't have that crazy "this only does something on x86-32, everywhere else it's a placebo". Linus -- 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/