[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <583d22d2-a123-4131-b4ac-20980357592b@paulmck-laptop>
Date: Sun, 14 Jul 2024 09:28:43 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: torvalds@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
lkmm@...ts.linux.dev, stern@...land.harvard.edu,
parri.andrea@...il.com, will@...nel.org, peterz@...radead.org,
boqun.feng@...il.com, npiggin@...il.com, dhowells@...hat.com,
j.alglave@....ac.uk, luc.maranget@...ia.fr, akiyks@...il.com,
dlustig@...dia.com, joel@...lfernandes.org
Subject: [GIT PULL] LKMM changes for v6.11
Hello, Linux,
When the merge window opens, please pull this LKMM update from:
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/lkmm.2024.07.12a
# HEAD: ea6ee1bac6034cb4e91bcc229ed1354ca1a024d5: tools/memory-model: Code reorganization in lock.cat (2024-06-06 11:24:58 -0700)
----------------------------------------------------------------
lkmm: Fix corner-case locking bug and improve documentation
A simple but odd single-process litmus test acquires and immediately
releases a lock, then calls spin_is_locked(). LKMM acts if it was
a deadlock due to an assumption that spin_is_locked() will follow a
spin_lock() or some other process's spin_unlock(). This litmus test
manages to violate this assumption because the spin_is_locked() follows
the same process's spin_unlock().
This series fixes this bug, reorganizes and optimizes the lock.cat model,
and updates documentation.
----------------------------------------------------------------
Alan Stern (2):
tools/memory-model: Fix bug in lock.cat
tools/memory-model: Code reorganization in lock.cat
Paul E. McKenney (2):
tools/memory-model: Add KCSAN LF mentorship session citation
tools/memory-model: Add access-marking.txt to README
tools/memory-model/Documentation/README | 4 ++
.../memory-model/Documentation/access-marking.txt | 10 ++--
tools/memory-model/lock.cat | 62 +++++++++++++---------
3 files changed, 49 insertions(+), 27 deletions(-)
Powered by blists - more mailing lists