]> www.infradead.org Git - users/hch/misc.git/commitdiff
selftests/futex: Remove the -g parameter from futex_priv_hash
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 27 Aug 2025 13:00:07 +0000 (15:00 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 29 Aug 2025 10:01:17 +0000 (12:01 +0200)
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
tools/testing/selftests/futex/functional/run.sh

index aea001ac4946048ea156f70723f93213c4d8b545..ec032faca6a91fa712730c7061a41e815b8c5e52 100644 (file)
@@ -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);
index 81739849f2994d52c336df00f1072db71b35573a..5470088dc4dfb6bdbf713afeeb18d999b8ddf506 100755 (executable)
@@ -85,7 +85,6 @@ echo
 
 echo
 ./futex_priv_hash $COLOR
-./futex_priv_hash -g $COLOR
 
 echo
 ./futex_numa_mpol $COLOR