Re: [PATCH v2 1/3] locking: Document the semantics of spin_is_locked()

From: David Howells
Date: Wed Apr 04 2018 - 17:24:06 EST


Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> > * Note that the function only tells you that the CPU is seen to be locked,
>
> the CPU is locked??
>
> > * not that it is locked on your CPU.

Sorry, yes: "... that the lock is seen to be locked, not that it is locked on
your CPU".