Skip to content

Commit 034fb71

Browse files
Andrea ParriPaul E. McKenney
authored andcommitted
tools/memory-model: Avoid duplicating herdtools versions
Currently, herdtools version information appears no fewer than three times in the LKMM source, which is difficult to maintain. This commit therefore places the required version in one place, namely the tools/memory-model/README file. Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Acked-by: Alan Stern <stern@rowland.harvard.edu>
1 parent 9393998 commit 034fb71

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎tools/memory-model/README‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ that litmus test to be exercised within the Linux kernel.
2020
REQUIREMENTS
2121
============
2222

23-
Version 7.49 of the "herd7" and "klitmus7" tools must be downloaded
24-
separately:
23+
Version 7.52 or higher of the "herd7" and "klitmus7" tools must be
24+
downloaded separately:
2525

2626
https://github.com/herd/herdtools7
2727

2828
See "herdtools7/INSTALL.md" for installation instructions.
2929

30+
Note that although these tools usually provide backwards compatibility,
31+
this is not absolutely guaranteed. Therefore, if a later version does
32+
not work, please try using the exact version called out above.
33+
3034

3135
==================
3236
BASIC USAGE: HERD7

‎tools/memory-model/linux-kernel.cat‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0+
22
(*
3-
* Requires herd version 7.51+6 or higher.
4-
*
53
* Copyright (C) 2015 Jade Alglave <j.alglave@ucl.ac.uk>,
64
* Copyright (C) 2016 Luc Maranget <luc.maranget@inria.fr> for Inria
75
* Copyright (C) 2017 Alan Stern <stern@rowland.harvard.edu>,

‎tools/memory-model/lock.cat‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
(*
88
* Generate coherence orders and handle lock operations
9-
*
10-
* Warning: spin_is_locked() crashes herd7 versions strictly before 7.48.
11-
* spin_is_locked() is functional from herd7 version 7.49.
129
*)
1310

1411
include "cross.cat"

0 commit comments

Comments
 (0)