Re: [PATCH] staging: most: dim2: fix a race condition in complete_all_mbos()
From: Greg KH
Date: Sat Feb 07 2026 - 06:55:38 EST
On Fri, Feb 06, 2026 at 01:02:31AM +0900, Minu Jin wrote:
> The current implementation of complete_all_mbos() repeatedly acquires
> and releases the spinlock in loop. This causes lock contention.
Is that actually measurable? If not, don't worry about it. Only if it
is should you worry about it :)
So please, benchmark the code and see if this is the case or not.
thanks,
greg k-h