Killing Giant for 13
Warner Losh
imp at bsdimp.com
Tue Nov 26 23:26:19 UTC 2019
On Tue, Nov 26, 2019 at 3:59 PM Ian Lepore <ian at freebsd.org> wrote:
> On Tue, 2019-11-26 at 15:23 -0700, Warner Losh wrote:
> > And then there's all the interrupt handlers that aren't marked MPSAFE...
> > how to grep for that? I think I may invent a NEEDS_GIANT sort of thing in
> > preference to MPSAFE.
>
> I'll bet this gets all or most of them...
>
> grep -R -l 'bus_setup_intr(' * | xargs grep -L MPSAFE
>
It's a start... I plan on adding a new value and KASSERTs soon to make it
more greppable...
Warner
More information about the freebsd-arch
mailing list