From owner-freebsd-arch@FreeBSD.ORG Wed Apr 30 08:11:53 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9750A37B401; Wed, 30 Apr 2003 08:11:53 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BB5E43FA3; Wed, 30 Apr 2003 08:11:52 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.9/8.12.9) with ESMTP id h3UFBpMS028342 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 30 Apr 2003 11:11:51 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h3UFBk885824; Wed, 30 Apr 2003 11:11:46 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16047.59314.532227.475952@grasshopper.cs.duke.edu> Date: Wed, 30 Apr 2003 11:11:46 -0400 (EDT) To: John Baldwin In-Reply-To: References: <200304290438.h3T4cdHE069528@arch20m.dellroad.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-arch@FreeBSD.ORG Subject: Re: lots of malloc(M_WAITOK)'s in interrupt context from camisr X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 15:11:53 -0000 John Baldwin writes: > If you need to do more work in your interrupt routine than just wakeups > and dinking with registers, you can always wake up a software interrupt > handler or some other random kthread to do things that take a long amount Dumb question: Exactly what is one allowed to do in an INTR_FAST interrupt context? Obviously, you can't sleep. But can you call wakeup()? Drew