[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220207154739.GH23216@worktop.programming.kicks-ass.net>
Date: Mon, 7 Feb 2022 16:47:39 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Ondrej Mosnacek <omosnace@...hat.com>
Cc: Ingo Molnar <mingo@...hat.com>, Will Deacon <will@...nel.org>,
Waiman Long <longman@...hat.com>,
Linux kernel mailing list <linux-kernel@...r.kernel.org>,
SElinux list <selinux@...r.kernel.org>
Subject: Re: Semantics vs. usage of mutex_is_locked()
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.
Powered by blists - more mailing lists