mlx4en, timer irq @100%... (11.0 stuck on high network load ???)

Hans Petter Selasky hps at selasky.org
Tue Aug 8 12:01:25 UTC 2017


On 08/08/17 13:56, Slawa Olhovchenkov wrote:
> On Tue, Aug 08, 2017 at 01:49:08PM +0200, Hans Petter Selasky wrote:
> 
>> On 08/08/17 13:33, Slawa Olhovchenkov wrote:
>>> TW_RUNLOCK(V_tw_lock);
>>> and
>>> if (INP_INFO_TRY_WLOCK(&V_tcbinfo)) {
>>>
>>> `inp` can be invalidated, freed and this pointer may be invalid?
>>
>> If you look one line up there is a pcbref ??
> 
> Yes.
> Can different thread take this inp and freed it?
> May be timer thread?

No, it cannot be freed while there is a ref.

Some lines down the ref is dropped once the inp pointer is no longer needed.

--HPS


More information about the freebsd-stable mailing list