D_NEEDGIANT usage in dev/io/iodev.c

Ed Schouten ed at fxq.nl
Tue Jul 10 17:16:37 UTC 2007


Hello,

The same applies to dev/io/iodev.c; according to sys/proc.h,
td->td_frame (used in ioopen() and ioclose()) is only accessed by
curthread, which means we can use it without acquiring Giant.

Yours,
-- 
 Ed Schouten <ed at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070710/f4eeabe1/attachment.pgp


More information about the freebsd-current mailing list