The -g parameter was meant to the test the immutable global hash instead
the private hash which has been made immutable. The global hash is
tested as part at the end of the regular test. The immutable private
hash been removed.
Remove last traces of the immutable private hash.
Fixes: 16adc7f136dc1 ("selftests/futex: Remove support for IMMUTABLE")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
tools/testing/selftests/futex/functional/futex_priv_hash.c | 1 -
tools/testing/selftests/futex/functional/run.sh | 1 -
2 files changed, 2 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_priv_hash.c b/tools/testing/selftests/futex/functional/futex_priv_hash.c
index aea001ac49460..ec032faca6a91 100644
--- a/tools/testing/selftests/futex/functional/futex_priv_hash.c
+++ b/tools/testing/selftests/futex/functional/futex_priv_hash.c
@@ -132,7 +132,6 @@ static void usage(char *prog)
{
printf("Usage: %s\n", prog);
printf(" -c Use color\n");
- printf(" -g Test global hash instead intead local immutable \n");
printf(" -h Display this help message\n");
printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n",
VQUIET, VCRITICAL, VINFO);
diff --git a/tools/testing/selftests/futex/functional/run.sh b/tools/testing/selftests/futex/functional/run.sh
index 81739849f2994..5470088dc4dfb 100755
--- a/tools/testing/selftests/futex/functional/run.sh
+++ b/tools/testing/selftests/futex/functional/run.sh
@@ -85,7 +85,6 @@ echo
echo
./futex_priv_hash $COLOR
-./futex_priv_hash -g $COLOR
echo
./futex_numa_mpol $COLOR
--
2.50.1
Em 27/08/2025 10:00, Sebastian Andrzej Siewior escreveu: > The -g parameter was meant to the test the immutable global hash instead > the private hash which has been made immutable. The global hash is > tested as part at the end of the regular test. The immutable private > hash been removed. > > Remove last traces of the immutable private hash. > > Fixes: 16adc7f136dc1 ("selftests/futex: Remove support for IMMUTABLE") > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Reviewed-by: André Almeida <andrealmeid@igalia.com>
The following commit has been merged into the locking/futex branch of tip:
Commit-ID: 2e62688d583809e832433f461194334408b10817
Gitweb: https://git.kernel.org/tip/2e62688d583809e832433f461194334408b10817
Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
AuthorDate: Wed, 27 Aug 2025 15:00:07 +02:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Fri, 29 Aug 2025 12:01:17 +02:00
selftests/futex: Remove the -g parameter from futex_priv_hash
The -g parameter was meant to the test the immutable global hash instead of the
private hash which has been made immutable. The global hash is tested as part
at the end of the regular test. The immutable private hash been removed.
Remove last traces of the immutable private hash.
Fixes: 16adc7f136dc1 ("selftests/futex: Remove support for IMMUTABLE")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
Link: https://lore.kernel.org/20250827130011.677600-2-bigeasy@linutronix.de
---
tools/testing/selftests/futex/functional/futex_priv_hash.c | 1 -
tools/testing/selftests/futex/functional/run.sh | 1 -
2 files changed, 2 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_priv_hash.c b/tools/testing/selftests/futex/functional/futex_priv_hash.c
index aea001a..ec032fa 100644
--- a/tools/testing/selftests/futex/functional/futex_priv_hash.c
+++ b/tools/testing/selftests/futex/functional/futex_priv_hash.c
@@ -132,7 +132,6 @@ static void usage(char *prog)
{
printf("Usage: %s\n", prog);
printf(" -c Use color\n");
- printf(" -g Test global hash instead intead local immutable \n");
printf(" -h Display this help message\n");
printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n",
VQUIET, VCRITICAL, VINFO);
diff --git a/tools/testing/selftests/futex/functional/run.sh b/tools/testing/selftests/futex/functional/run.sh
index 8173984..5470088 100755
--- a/tools/testing/selftests/futex/functional/run.sh
+++ b/tools/testing/selftests/futex/functional/run.sh
@@ -85,7 +85,6 @@ echo
echo
./futex_priv_hash $COLOR
-./futex_priv_hash -g $COLOR
echo
./futex_numa_mpol $COLOR
© 2016 - 2025 Red Hat, Inc.