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>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to