summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-27 19:47:59 +0000
committerphk <phk@FreeBSD.org>2002-09-27 19:47:59 +0000
commit5031f247a0bdcfd0f9eccc36050f2a0ff31dfed6 (patch)
treedb5b956045623504e7b7b670b1b8f0ff9eaf85bf /sys/dev
parent3fbb04e11fad39e7044e9e0dab9ffdf3bdc89e44 (diff)
downloadFreeBSD-src-5031f247a0bdcfd0f9eccc36050f2a0ff31dfed6.zip
FreeBSD-src-5031f247a0bdcfd0f9eccc36050f2a0ff31dfed6.tar.gz
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.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud