| Date | Thu, 11 May 2023 14:14:08 +0200 (CEST) | From | Jan Engelhardt <> | Subject | Re: [PATCH 04/32] locking: SIX locks (shared/intent/exclusive) |
| |
On Tuesday 2023-05-09 18:56, Kent Overstreet wrote: >--- /dev/null >+++ b/include/linux/six.h >@@ -0,0 +1,210 @@ >+ * There are also operations that take the lock type as a parameter, where the >+ * type is one of SIX_LOCK_read, SIX_LOCK_intent, or SIX_LOCK_write: >+ * >+ * six_lock_type(lock, type) >+ * six_unlock_type(lock, type) >+ * six_relock(lock, type, seq) >+ * six_trylock_type(lock, type) >+ * six_trylock_convert(lock, from, to) >+ * >+ * A lock may be held multiple types by the same thread (for read or intent,
"multiple times"
>+// SPDX-License-Identifier: GPL-2.0
The currently SPDX list only knows "GPL-2.0-only" or "GPL-2.0-or-later", please edit.
|