[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2026020700-clear-playset-c329@gregkh>
Date: Sat, 7 Feb 2026 12:55:27 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Minu Jin <s9430939@...er.com>
Cc: parthiban.veerasooran@...rochip.com, christian.gromm@...rochip.com,
dan.carpenter@...aro.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: most: dim2: fix a race condition in
complete_all_mbos()
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
Powered by blists - more mailing lists