Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 19:16:31 +0200
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   D_NEEDGIANT usage in dev/io/iodev.c
Message-ID:  <20070710171631.GF55449@hoeg.nl>
In-Reply-To: <20070710165606.GE55449@hoeg.nl>
References:  <20070710165606.GE55449@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--8S1fMsFYqgBC+BN/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,
--=20
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

--8S1fMsFYqgBC+BN/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGk77v52SDGA2eCwURAsxKAJ43vMLhVXgMtKLnVOLUQtndyDmlJACfes6o
+eGhGhZgA323UuxJNO+y4mY=
=w9X/
-----END PGP SIGNATURE-----

--8S1fMsFYqgBC+BN/--



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