Re: Semantics vs. usage of mutex_is_locked()
From: Peter Zijlstra
Date: Mon Feb 07 2022 - 10:53:39 EST
On Mon, Feb 07, 2022 at 04:15:27PM +0100, Ondrej Mosnacek wrote:
> Also, any opinions on the name of the new helper? Perhaps
> mutex_is_held()? Or mutex_is_locked_by_current()?
lockdep_assert_held*() and friends work on mutexes just fine.