Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2009 17:17:39 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        attilio@freebsd.org
Cc:        scottl@samsco.org, src-committers@freebsd.org, jhb@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, rwatson@freebsd.org, kostikbel@gmail.com
Subject:   Re: svn commit: r192535 - head/sys/kern
Message-ID:  <20090521.171739.1884781224.imp@bsdimp.com>
In-Reply-To: <3bbf2fe10905211511g53defb6cmac45fc2469cc64f@mail.gmail.com>
References:  <3bbf2fe10905211005m350dc4d1yed6dc1b79f1603d9@mail.gmail.com> <20090521194243.GW1927@deviant.kiev.zoral.com.ua> <3bbf2fe10905211511g53defb6cmac45fc2469cc64f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <3bbf2fe10905211511g53defb6cmac45fc2469cc64f@mail.gmail.com>
            Attilio Rao <attilio@freebsd.org> writes:
: At this point I wonder what's the purpose of maintaining the sleeping
: version for such functions?

As John explained, destroy_dev() needs to sleep to flush all the
threads out of the driver callbacks.

Warner



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