Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754151AbYAXHLS (ORCPT ); Thu, 24 Jan 2008 02:11:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752316AbYAXHLH (ORCPT ); Thu, 24 Jan 2008 02:11:07 -0500 Received: from cantor.suse.de ([195.135.220.2]:42636 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752265AbYAXHLG (ORCPT ); Thu, 24 Jan 2008 02:11:06 -0500 From: Andi Kleen To: Jeremy Fitzhardinge Subject: Re: [PATCH] x86: ignore spurious faults Date: Thu, 24 Jan 2008 08:11:19 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: Ingo Molnar , Linux Kernel Mailing List , Harvey Harrison References: <4797D64D.1060105@goop.org> <479837F3.8090905@goop.org> In-Reply-To: <479837F3.8090905@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801240811.20093.andi@firstfloor.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 834 Lines: 22 On Thursday 24 January 2008 08:02:11 Jeremy Fitzhardinge wrote: > Andi Kleen wrote: > > Jeremy Fitzhardinge writes: > >> /* > >> + * Handle a spurious fault caused by a stale TLB entry. This allows > > > > vmalloc_fault already has nearly the same logic. You should look > > at sharing the code. > > Hm, I see what you mean, but its hard to see how to share much code > there. It's a case of "two lines common, one line different" repeated 4 > times or so. The core common logic is checking if the fault agrees with the page tables. If not do different things. -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/