Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 19:41:15 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        "Somayajulu, David" <David.Somayajulu@cavium.com>, Sepherosa Ziehau <sepherosa@gmail.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: Question on taskqueue_drain
Message-ID:  <9a3b97e4-cb44-0de7-bb10-f9af9f04a089@selasky.org>
In-Reply-To: <BY2PR07MB1474DA5E249A0FE4CEFDA0A7EE180@BY2PR07MB1474.namprd07.prod.outlook.com>
References:  <BY2PR07MB14745123AC235B06BCD2987DEE190@BY2PR07MB1474.namprd07.prod.outlook.com> <BY2PR07MB1474C78A241A7CA1F2396435EE180@BY2PR07MB1474.namprd07.prod.outlook.com> <CAMOc5cxtSakeBhskbmfW4BxsbgdRDp22AVBYrDgReCP91YLY7g@mail.gmail.com> <1fb80f2b-9086-0260-2f63-bdaf8afc1c4c@selasky.org> <BY2PR07MB1474DA5E249A0FE4CEFDA0A7EE180@BY2PR07MB1474.namprd07.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/19/17 19:36, Somayajulu, David wrote:
> Hans,
> Thanks for the info.
>> No sleeping functions like taskqueue_drain() can be called when the MTX_DEF lock is grabbed.
> I am guessing this is true irrespective of whether the taskqueue is "fast" or not.
> Thanks

Yes, that is correct.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9a3b97e4-cb44-0de7-bb10-f9af9f04a089>