lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZF6oejsUGUC0gnYx@moria.home.lan>
Date:   Fri, 12 May 2023 16:58:34 -0400
From:   Kent Overstreet <kent.overstreet@...ux.dev>
To:     Jan Engelhardt <jengelh@...i.de>
Cc:     linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
        linux-bcachefs@...r.kernel.org,
        Kent Overstreet <kent.overstreet@...il.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>, Will Deacon <will@...nel.org>,
        Waiman Long <longman@...hat.com>,
        Boqun Feng <boqun.feng@...il.com>
Subject: Re: [PATCH 04/32] locking: SIX locks (shared/intent/exclusive)

On Thu, May 11, 2023 at 02:14:08PM +0200, Jan Engelhardt wrote:
> 
> 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"

Thanks, fixed

> >+// SPDX-License-Identifier: GPL-2.0
> 
> The currently SPDX list only knows "GPL-2.0-only" or "GPL-2.0-or-later",
> please edit.

Where is that list?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ