summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/tests/ABBA_2threads.sh
diff options
context:
space:
mode:
authorSasha Levin <sashal@kernel.org>2021-11-12 10:16:02 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-12 11:07:17 -0800
commit7246f4dcaccc8de76a96a41359d89c3c791579bc (patch)
tree67a0bf0862f379884822698a8a104fb4bdbc77bf /tools/lib/lockdep/tests/ABBA_2threads.sh
parentd9c8e52ff9e84ff1a406330f9ea4de7c5eb40282 (diff)
tools/lib/lockdep: drop liblockdep
TL;DR: While a tool like liblockdep is useful, it probably doesn't belong within the kernel tree. liblockdep attempts to reuse kernel code both directly (by directly building the kernel's lockdep code) as well as indirectly (by using sanitized headers). This makes liblockdep an integral part of the kernel. It also makes liblockdep quite unique: while other userspace code might use sanitized headers, it generally doesn't attempt to use kernel code directly which means that changes on the kernel side of things don't affect (and break) it directly. All our workflows and tooling around liblockdep don't support this uniqueness. Changes that go into the kernel code aren't validated to not break in-tree userspace code. liblockdep ended up being very fragile, breaking over and over, to the point that living in the same tree as the lockdep code lost most of it's value. liblockdep should continue living in an external tree, syncing with the kernel often, in a controllable way. Signed-off-by: Sasha Levin <sashal@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/lib/lockdep/tests/ABBA_2threads.sh')
-rw-r--r--tools/lib/lockdep/tests/ABBA_2threads.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/lib/lockdep/tests/ABBA_2threads.sh b/tools/lib/lockdep/tests/ABBA_2threads.sh
deleted file mode 100644
index fc31c607a5a8..000000000000
--- a/tools/lib/lockdep/tests/ABBA_2threads.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-grep -q 'WARNING: possible circular locking dependency detected'