[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABqG17gQEa70kEDVVhNkOeM2SYdZ6-gkYfYJUNV+=NzyogK_PA@mail.gmail.com>
Date: Thu, 24 Aug 2023 16:34:05 +0530
From: Naresh Solanki <naresh.solanki@...ements.com>
To: Mark Brown <broonie@...nel.org>
Cc: Liam Girdwood <lgirdwood@...il.com>, zev@...ilderbeest.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: userspace-consumer: Use atomic operation
Hi,
On Wed, 23 Aug 2023 at 20:41, Mark Brown <broonie@...nel.org> wrote:
>
> On Wed, Aug 23, 2023 at 04:15:57PM +0200, Naresh Solanki wrote:
> > Replace mutexes with atomic operations.
>
> Why? Generally atomics are more complicated and hard to understand and
> get right.
Since the operations involved here are simple & short & can be managed by
atomic operation.
Regards,
Naresh
Powered by blists - more mailing lists