GIANT question
Bernd Walter
ticso at cicely12.cicely.de
Wed Jul 21 10:06:34 PDT 2004
Say I have a driver that could run without needing GIANT, but
makes use of a subsystem that requires GIANT.
Removing D_NEEDGIANT in cdevsw seems to be enough to get called
from userland without GIANT held.
Now I need to aquire GIANT bevor calling the subsystem and release
it on return.
What I've found so far is DROP_GIANT/PICKUP_GIANT, which has to be
paired the other way.
What is the prefered way to get/release GIANT in that case?
--
B.Walter BWCT http://www.bwct.de
bernd at bwct.de info at bwct.de
More information about the freebsd-current
mailing list