Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 1999 09:10:53 +1000
From:      Bruce Evans <bde@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
Message-ID:  <199909032310.JAA13811@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909032310.JAA13811>