HomeFreeBSD

MFC r356216: Don't spin on cleanup_lock if we are not interrupt.

Description

MFC r356216: Don't spin on cleanup_lock if we are not interrupt.

If somebody else holds that lock, it will likely do the work for us.
If it won't, then we return here later and retry.

Under heavy load it allows to avoid lock congestion between interrupt and
polling threads.

Details

Provenance
mavAuthored on
Parents
rS356428: MFC of 356063
Branches
Unknown
Tags
Unknown