From owner-cvs-all Fri Sep 3 16:11: 6 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id BD20115755; Fri, 3 Sep 1999 16:10:54 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id JAA13811; Sat, 4 Sep 1999 09:10:53 +1000 Date: Sat, 4 Sep 1999 09:10:53 +1000 From: Bruce Evans Message-Id: <199909032310.JAA13811@godzilla.zeta.org.au> To: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, luoqi@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_bio.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Modified files: > sys/kern vfs_bio.c > Log: > Allow getblk() to be called from an idle context (by panic() inside > an interrupt handler). panic() inside an interrupt handler is not idle context. It is not safe to call getblk() then. panic() iself is sloppy about this. It risks increasing the damage by attempting to sync. If it is called at splbio(), then bio interrupts only "work" because sync() doesn't honor splbio() (it sleeps). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message