From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from www.linux.org.uk (parcelfarce.linux.theplanet.co.uk [195.92.249.252]) by dsl2.external.hp.com (Postfix) with ESMTP id 94FD64872 for ; Mon, 9 Dec 2002 11:55:27 -0700 (MST) Received: from willy by www.linux.org.uk with local (Exim 3.33 #5) id 18LT3q-0002dJ-00; Mon, 09 Dec 2002 18:55:22 +0000 Date: Mon, 9 Dec 2002 18:55:21 +0000 From: Matthew Wilcox To: Grant Grundler Cc: Matthew Wilcox , Randolph Chung , John David Anglin , carlos@baldric.uwo.ca, parisc-linux@lists.parisc-linux.org Subject: Re: [parisc-linux] Re: Trap handler Message-ID: <20021209185521.M20336@parcelfarce.linux.theplanet.co.uk> References: <20021208232601.GH21187@tausq.org> <200212082355.gB8NtUAe010825@hiauly1.hia.nrc.ca> <20021209051214.GK21187@tausq.org> <20021209061913.GM21187@tausq.org> <20021209125416.F20336@parcelfarce.linux.theplanet.co.uk> <20021209180316.GA6635@dsl2.external.hp.com> <20021209182033.L20336@parcelfarce.linux.theplanet.co.uk> <20021209184125.GC6635@dsl2.external.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20021209184125.GC6635@dsl2.external.hp.com>; from grundler@dsl2.external.hp.com on Mon, Dec 09, 2002 at 11:41:25AM -0700 Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: On Mon, Dec 09, 2002 at 11:41:25AM -0700, Grant Grundler wrote: > As jsm agreed, if interrupts were disabled when we took the fault, > we can't re-enable them while handling a page fault. > Where x86 disables interrupts seems ok to me. um, there's a difference between a page fault and a TLB miss. if you have interrupts disabled and you take a page fault, something's gone horribly wrong. having interrupts disabled when you miss the TLB cache is no big deal. we _absolutely must not_ tamper with interrupt enable state when handling a TLB miss. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk