Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2014 23:25:13 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: Questions about locking; turnstiles and sleeping threads
Message-ID:  <CAJ-Vmok40-W%2B%2BdUJPcfO74%2BuudCgbs3tR5nwrR-aNuCy=5o0HQ@mail.gmail.com>
In-Reply-To: <CAJ-Vmo=R4ayAn-d986TC3CzZ4y23jnDW=uTyo4O=x4Ae1wB60A@mail.gmail.com>
References:  <CAJ-VmomrauhCMoF_dZfMWWhZp0EgwfE9RmxL5Pc37PhLSzZ6Qg@mail.gmail.com> <20141112212613.21037929@kan> <CAJ-Vmok-8znyycyOBS_ZQU275zFy%2BzuZ2C-jt4N3DnuEVS=PWg@mail.gmail.com> <CAJ-Vmo=R4ayAn-d986TC3CzZ4y23jnDW=uTyo4O=x4Ae1wB60A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 November 2014 19:48, Adrian Chadd <adrian@freebsd.org> wrote:
> kan pointed out that we should likely do a WITNESS_WARN() in the
> relevant spots in the callout code so we catch these before it
> happens.
>
> I'll see what we can add to -HEAD to be pro-active about it.

Amusingly, I tried adding it and it made my laptop turn to soup very
quickly - among other things, the TCP timer callouts are all setup
with non sleep locks held.



-adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmok40-W%2B%2BdUJPcfO74%2BuudCgbs3tR5nwrR-aNuCy=5o0HQ>