Date: Fri, 27 Sep 2002 12:47:59 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys conf.h src/sys/fs/specfs spec_vnops.c Message-ID: <200209271947.g8RJlxAV019176@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2002/09/27 12:47:59 PDT
Modified files:
sys/sys conf.h
sys/fs/specfs spec_vnops.c
Log:
Add a D_NOGIANT flag which can be set in a struct cdevsw to indicate
that a particular device driver is not Giant-challenged.
SPECFS will DROP_GIANT() ... PICKUP_GIANT() around calls to the
driver in question.
Notice that the interrupt path is not affected by this!
This does _NOT_ work for drivers accessed through cdevsw->d_strategy()
ie drivers for disk(-like), some tapes, maybe others.
Revision Changes Path
1.179 +76 -13 src/sys/fs/specfs/spec_vnops.c
1.149 +1 -0 src/sys/sys/conf.h
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?200209271947.g8RJlxAV019176>
