From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751111AbWGQSHV (ORCPT ); Mon, 17 Jul 2006 14:07:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751115AbWGQSHV (ORCPT ); Mon, 17 Jul 2006 14:07:21 -0400 Received: from smtp.osdl.org ([65.172.181.4]:23760 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751111AbWGQSHU (ORCPT ); Mon, 17 Jul 2006 14:07:20 -0400 Date: Mon, 17 Jul 2006 11:08:26 -0700 (PDT) From: Linus Torvalds To: Chuck Ebbert <76306.1226@compuserve.com> cc: linux-kernel , Krzysztof Halasa , Andi Kleen , Andrew Morton Subject: Re: [patch] i386: fix recursive fault in page-fault handler In-Reply-To: <200607171322_MC3-1-C53B-6253@compuserve.com> Message-ID: References: <200607171322_MC3-1-C53B-6253@compuserve.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Jul 2006, Chuck Ebbert wrote: > > Krzysztof Halasa reported recursive faults in do_page_fault() > causing a stream of partial oops messages on the console. Fix > by adding a fixup for that code. This patch is really too ugly to live. Does it even work? If 'tsk' is broken, I'd expect the die() to oops anyway - it does if (notify_die(DIE_OOPS, str, regs, err, current->thread.trap_no, SIGSEG... anyway (where that "current->thread.trap_no" gets dereferenced). Linus