Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2017 10:58:41 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Mateusz Guzik <mjg@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r313859 - in head/sys: kern sys
Message-ID:  <20170217095841.GB30217@dft-labs.eu>
In-Reply-To: <2c01557a-3412-8b46-ef4d-77214566b74a@selasky.org>
References:  <201702170645.v1H6j4l6060548@repo.freebsd.org> <2c01557a-3412-8b46-ef4d-77214566b74a@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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>



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