svn commit: r313859 - in head/sys: kern sys
Mateusz Guzik
mjguzik at gmail.com
Fri Feb 17 09:58:47 UTC 2017
On Fri, Feb 17, 2017 at 10:08:27AM +0100, Hans Petter Selasky wrote:
> On 02/17/17 07:45, Mateusz Guzik wrote:
> >Author: mjg
> >Date: Fri Feb 17 06:45:04 2017
> >New Revision: 313859
> >URL: https://svnweb.freebsd.org/changeset/base/313859
> >
> >Log:
> > Introduce SCHEDULER_STOPPED_TD for use when the thread pointer was already read
> >
>
> Do these checks also cover panics? Or only shutdown?
>
> Should you also add a check for kdb_active // panicstr ? Then I could
> factor out some checks I've sprinkled in the USB code.
>
These are specifically for panics. I don't plan to add other macros,
just needded this for further refactoring of locking primitives.
--
Mateusz Guzik <mjguzik gmail.com>
More information about the svn-src-all
mailing list