* [PATCH 0/5] selftests/futex: Collected fixups
@ 2025-08-27 13:00 Sebastian Andrzej Siewior
2025-08-27 13:00 ` [PATCH 1/5] selftests/futex: Remove the -g parameter from futex_priv_hash Sebastian Andrzej Siewior
` (4 more replies)
0 siblings, 5 replies; 16+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-08-27 13:00 UTC (permalink / raw)
To: linux-kernel
Cc: André Almeida, Darren Hart, Davidlohr Bueso, Ingo Molnar,
Juri Lelli, Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, Sebastian Andrzej Siewior
I collected fixups for selftests/futex from the list. While testing I
noticed that the '-g' parameter has been removed from futex_priv_hash.c
but is still used by the run.sh script.
The first patch removes it, the remaining ones are collected fixes.
Dan Carpenter (1):
selftests/futex: fix futex_wait() for 32bit ARM
Gopi Krishna Menon (1):
selftests/futex: fix typos and grammar in futex_priv_hash
Nai-Chen Cheng (1):
selftests/futex: fix format-security warnings in futex_priv_hash
Sebastian Andrzej Siewior (1):
selftests/futex: Remove the -g parameter from futex_priv_hash
Waiman Long (1):
selftests/futex: Fix some futex_numa_mpol subtests
.../selftests/futex/functional/Makefile | 2 +-
.../futex/functional/futex_numa_mpol.c | 6 ++----
.../futex/functional/futex_priv_hash.c | 19 +++++++++----------
.../testing/selftests/futex/functional/run.sh | 1 -
.../selftests/futex/include/futextest.h | 11 +++++++++++
5 files changed, 23 insertions(+), 16 deletions(-)
--
2.50.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 1/5] selftests/futex: Remove the -g parameter from futex_priv_hash
2025-08-27 13:00 [PATCH 0/5] selftests/futex: Collected fixups Sebastian Andrzej Siewior
@ 2025-08-27 13:00 ` Sebastian Andrzej Siewior
2025-08-27 15:38 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] " tip-bot2 for Sebastian Andrzej Siewior
2025-08-27 13:00 ` [PATCH 2/5] selftests/futex: Fix some futex_numa_mpol subtests Sebastian Andrzej Siewior
` (3 subsequent siblings)
4 siblings, 2 replies; 16+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-08-27 13:00 UTC (permalink / raw)
To: linux-kernel
Cc: André Almeida, Darren Hart, Davidlohr Bueso, Ingo Molnar,
Juri Lelli, Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, Sebastian Andrzej Siewior
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
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/5] selftests/futex: Fix some futex_numa_mpol subtests
2025-08-27 13:00 [PATCH 0/5] selftests/futex: Collected fixups Sebastian Andrzej Siewior
2025-08-27 13:00 ` [PATCH 1/5] selftests/futex: Remove the -g parameter from futex_priv_hash Sebastian Andrzej Siewior
@ 2025-08-27 13:00 ` Sebastian Andrzej Siewior
2025-08-27 15:40 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] " tip-bot2 for Waiman Long
2025-08-27 13:00 ` [PATCH 3/5] selftests/futex: fix format-security warnings in futex_priv_hash Sebastian Andrzej Siewior
` (2 subsequent siblings)
4 siblings, 2 replies; 16+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-08-27 13:00 UTC (permalink / raw)
To: linux-kernel
Cc: André Almeida, Darren Hart, Davidlohr Bueso, Ingo Molnar,
Juri Lelli, Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, Sebastian Andrzej Siewior
From: Waiman Long <longman@redhat.com>
The "Memory out of range" subtest of futex_numa_mpol assumes that memory
access outside of the mmap'ed area is invalid. That may not be the case
depending on the actual memory layout of the test application. When
that subtest was run on an x86-64 system with latest upstream kernel,
the test passed as an error was returned from futex_wake(). On another
powerpc system, the same subtest failed because futex_wake() returned 0.
Bail out! futex2_wake(64, 0x86) should fail, but didn't
Looking further into the passed subtest on x86-64, it was found that an
-EINVAL was returned instead of -EFAULT. The -EINVAL error was returned
because the node value test with FLAGS_NUMA set failed with a node value
of 0x7f7f. IOW, the futex memory was accessible and futex_wake() failed
because the supposed node number wasn't valid. If that memory location
happens to have a very small value (e.g. 0), the test will pass and no
error will be returned.
Since this subtest is non-deterministic, it is dropped unless we
explicitly set a guard page beyond the mmap region.
The other problematic test is the "Memory too small" test. The
futex_wake() function returns the -EINVAL error code because the given
futex address isn't 8-byte aligned, not because only 4 of the 8 bytes
are valid and the other 4 bytes are not. So proper name of this subtest
is changed to "Mis-aligned futex" to reflect the reality.
Fixes: 3163369407ba ("selftests/futex: Add futex_numa_mpol")
Signed-off-by: Waiman Long <longman@redhat.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20250810222742.290485-1-longman@redhat.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
tools/testing/selftests/futex/functional/futex_numa_mpol.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_numa_mpol.c b/tools/testing/selftests/futex/functional/futex_numa_mpol.c
index a9ecfb2d3932a..802c15c821906 100644
--- a/tools/testing/selftests/futex/functional/futex_numa_mpol.c
+++ b/tools/testing/selftests/futex/functional/futex_numa_mpol.c
@@ -182,12 +182,10 @@ int main(int argc, char *argv[])
if (futex_numa->numa == FUTEX_NO_NODE)
ksft_exit_fail_msg("NUMA node is left uninitialized\n");
- ksft_print_msg("Memory too small\n");
+ /* FUTEX2_NUMA futex must be 8-byte aligned */
+ ksft_print_msg("Mis-aligned futex\n");
test_futex(futex_ptr + mem_size - 4, 1);
- ksft_print_msg("Memory out of range\n");
- test_futex(futex_ptr + mem_size, 1);
-
futex_numa->numa = FUTEX_NO_NODE;
mprotect(futex_ptr, mem_size, PROT_READ);
ksft_print_msg("Memory, RO\n");
--
2.50.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 3/5] selftests/futex: fix format-security warnings in futex_priv_hash
2025-08-27 13:00 [PATCH 0/5] selftests/futex: Collected fixups Sebastian Andrzej Siewior
2025-08-27 13:00 ` [PATCH 1/5] selftests/futex: Remove the -g parameter from futex_priv_hash Sebastian Andrzej Siewior
2025-08-27 13:00 ` [PATCH 2/5] selftests/futex: Fix some futex_numa_mpol subtests Sebastian Andrzej Siewior
@ 2025-08-27 13:00 ` Sebastian Andrzej Siewior
2025-09-01 14:28 ` [tip: locking/futex] selftests/futex: Fix " tip-bot2 for Nai-Chen Cheng
2025-08-27 13:00 ` [PATCH 4/5] selftests/futex: fix typos and grammar " Sebastian Andrzej Siewior
2025-08-27 13:00 ` [PATCH 5/5] selftests/futex: fix futex_wait() for 32bit ARM Sebastian Andrzej Siewior
4 siblings, 1 reply; 16+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-08-27 13:00 UTC (permalink / raw)
To: linux-kernel
Cc: André Almeida, Darren Hart, Davidlohr Bueso, Ingo Molnar,
Juri Lelli, Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, Nai-Chen Cheng,
Sebastian Andrzej Siewior
From: Nai-Chen Cheng <bleach1827@gmail.com>
Fix format-security warnings by using proper format strings when
passing message variables to ksft_exit_fail_msg(),
ksft_test_result_pass(), and ksft_test_result_skip() function.
This prevents potential security issues and eliminates compiler warnings
when building with -Wformat-security.
Signed-off-by: Nai-Chen Cheng <bleach1827@gmail.com>
Link: https://lore.kernel.org/r/20250812005048.59892-1-bleach1827@gmail.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
.../selftests/futex/functional/futex_priv_hash.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_priv_hash.c b/tools/testing/selftests/futex/functional/futex_priv_hash.c
index ec032faca6a91..ffd60d03a992b 100644
--- a/tools/testing/selftests/futex/functional/futex_priv_hash.c
+++ b/tools/testing/selftests/futex/functional/futex_priv_hash.c
@@ -192,10 +192,10 @@ int main(int argc, char *argv[])
futex_slots1 = futex_hash_slots_get();
if (futex_slots1 <= 0) {
ksft_print_msg("Current hash buckets: %d\n", futex_slots1);
- ksft_exit_fail_msg(test_msg_auto_create);
+ ksft_exit_fail_msg("%s", test_msg_auto_create);
}
- ksft_test_result_pass(test_msg_auto_create);
+ ksft_test_result_pass("%s", test_msg_auto_create);
online_cpus = sysconf(_SC_NPROCESSORS_ONLN);
ret = pthread_barrier_init(&barrier_main, NULL, MAX_THREADS + 1);
@@ -236,11 +236,11 @@ int main(int argc, char *argv[])
}
ksft_print_msg("Expected increase of hash buckets but got: %d -> %d\n",
futex_slots1, futex_slotsn);
- ksft_exit_fail_msg(test_msg_auto_inc);
+ ksft_exit_fail_msg("%s", test_msg_auto_inc);
}
- ksft_test_result_pass(test_msg_auto_inc);
+ ksft_test_result_pass("%s", test_msg_auto_inc);
} else {
- ksft_test_result_skip(test_msg_auto_inc);
+ ksft_test_result_skip("%s", test_msg_auto_inc);
}
ret = pthread_mutex_unlock(&global_lock);
--
2.50.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 4/5] selftests/futex: fix typos and grammar in futex_priv_hash
2025-08-27 13:00 [PATCH 0/5] selftests/futex: Collected fixups Sebastian Andrzej Siewior
` (2 preceding siblings ...)
2025-08-27 13:00 ` [PATCH 3/5] selftests/futex: fix format-security warnings in futex_priv_hash Sebastian Andrzej Siewior
@ 2025-08-27 13:00 ` Sebastian Andrzej Siewior
2025-08-27 15:49 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] selftests/futex: Fix " tip-bot2 for Gopi Krishna Menon
2025-08-27 13:00 ` [PATCH 5/5] selftests/futex: fix futex_wait() for 32bit ARM Sebastian Andrzej Siewior
4 siblings, 2 replies; 16+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-08-27 13:00 UTC (permalink / raw)
To: linux-kernel
Cc: André Almeida, Darren Hart, Davidlohr Bueso, Ingo Molnar,
Juri Lelli, Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, Gopi Krishna Menon,
Sebastian Andrzej Siewior
From: Gopi Krishna Menon <krishnagopi487@gmail.com>
Fix multiple typos and small grammar issues in help text,
comments and test messages in futex_priv_hash test.
Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
Link: https://lore.kernel.org/r/20250819155755.4665-1-krishnagopi487@gmail.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
.../testing/selftests/futex/functional/futex_priv_hash.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_priv_hash.c b/tools/testing/selftests/futex/functional/futex_priv_hash.c
index ffd60d03a992b..95f01603a6813 100644
--- a/tools/testing/selftests/futex/functional/futex_priv_hash.c
+++ b/tools/testing/selftests/futex/functional/futex_priv_hash.c
@@ -188,7 +188,7 @@ int main(int argc, char *argv[])
if (ret != 0)
ksft_exit_fail_msg("pthread_join() failed: %d, %m\n", ret);
- /* First thread, has to initialiaze private hash */
+ /* First thread, has to initialize private hash */
futex_slots1 = futex_hash_slots_get();
if (futex_slots1 <= 0) {
ksft_print_msg("Current hash buckets: %d\n", futex_slots1);
@@ -256,17 +256,17 @@ int main(int argc, char *argv[])
futex_hash_slots_set_verify(2);
join_max_threads();
- ksft_test_result(counter == MAX_THREADS, "Created of waited for %d of %d threads\n",
+ ksft_test_result(counter == MAX_THREADS, "Created and waited for %d of %d threads\n",
counter, MAX_THREADS);
counter = 0;
- /* Once the user set something, auto reisze must be disabled */
+ /* Once the user set something, auto resize must be disabled */
ret = pthread_barrier_init(&barrier_main, NULL, MAX_THREADS);
create_max_threads(thread_lock_fn);
join_max_threads();
ret = futex_hash_slots_get();
- ksft_test_result(ret == 2, "No more auto-resize after manaul setting, got %d\n",
+ ksft_test_result(ret == 2, "No more auto-resize after manual setting, got %d\n",
ret);
futex_hash_slots_set_must_fail(1 << 29);
--
2.50.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 5/5] selftests/futex: fix futex_wait() for 32bit ARM
2025-08-27 13:00 [PATCH 0/5] selftests/futex: Collected fixups Sebastian Andrzej Siewior
` (3 preceding siblings ...)
2025-08-27 13:00 ` [PATCH 4/5] selftests/futex: fix typos and grammar " Sebastian Andrzej Siewior
@ 2025-08-27 13:00 ` Sebastian Andrzej Siewior
2025-08-27 15:50 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] selftests/futex: Fix " tip-bot2 for Dan Carpenter
4 siblings, 2 replies; 16+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-08-27 13:00 UTC (permalink / raw)
To: linux-kernel
Cc: André Almeida, Darren Hart, Davidlohr Bueso, Ingo Molnar,
Juri Lelli, Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, Dan Carpenter, Anders Roxell,
Sebastian Andrzej Siewior
From: Dan Carpenter <dan.carpenter@linaro.org>
On 32bit ARM systems gcc-12 will use 32bit timestamps while gcc-13 and
later will use 64bit timestamps. The problem is that SYS_futex will
continue pointing at the 32bit system call. This makes the futex_wait
test fail like this:
waiter failed errno 110
not ok 1 futex_wake private returned: 0 Success
waiter failed errno 110
not ok 2 futex_wake shared (page anon) returned: 0 Success
waiter failed errno 110
not ok 3 futex_wake shared (file backed) returned: 0 Success
Instead of compiling differently depending on the gcc version, use the
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 options to ensure that we are
building with 64bit timestamps. Then use ifdefs to make SYS_futex point
to the 64bit system call.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Link: https://lore.kernel.org/r/ebd4a415169f9a3153bbd3c1fe6244511c9d1cb3.1756217858.git.dan.carpenter@linaro.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
tools/testing/selftests/futex/functional/Makefile | 2 +-
tools/testing/selftests/futex/include/futextest.h | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile
index 8cfb87f7f7c50..ddfa61d857b9b 100644
--- a/tools/testing/selftests/futex/functional/Makefile
+++ b/tools/testing/selftests/futex/functional/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
INCLUDES := -I../include -I../../ $(KHDR_INCLUDES)
-CFLAGS := $(CFLAGS) -g -O2 -Wall -pthread $(INCLUDES) $(KHDR_INCLUDES)
+CFLAGS := $(CFLAGS) -g -O2 -Wall -pthread -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 $(INCLUDES) $(KHDR_INCLUDES)
LDLIBS := -lpthread -lrt -lnuma
LOCAL_HDRS := \
diff --git a/tools/testing/selftests/futex/include/futextest.h b/tools/testing/selftests/futex/include/futextest.h
index 7a5fd1d5355e7..3d48e9789d9fe 100644
--- a/tools/testing/selftests/futex/include/futextest.h
+++ b/tools/testing/selftests/futex/include/futextest.h
@@ -58,6 +58,17 @@ typedef volatile u_int32_t futex_t;
#define SYS_futex SYS_futex_time64
#endif
+/*
+ * On 32bit systems if we use "-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" or if
+ * we are using a newer compiler then the size of the timestamps will be 64bit,
+ * however, the SYS_futex will still point to the 32bit futex system call.
+ */
+#if __SIZEOF_POINTER__ == 4 && defined(SYS_futex_time64) && \
+ defined(_TIME_BITS) && _TIME_BITS == 64
+# undef SYS_futex
+# define SYS_futex SYS_futex_time64
+#endif
+
/**
* futex() - SYS_futex syscall wrapper
* @uaddr: address of first futex
--
2.50.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 1/5] selftests/futex: Remove the -g parameter from futex_priv_hash
2025-08-27 13:00 ` [PATCH 1/5] selftests/futex: Remove the -g parameter from futex_priv_hash Sebastian Andrzej Siewior
@ 2025-08-27 15:38 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] " tip-bot2 for Sebastian Andrzej Siewior
1 sibling, 0 replies; 16+ messages in thread
From: André Almeida @ 2025-08-27 15:38 UTC (permalink / raw)
To: Sebastian Andrzej Siewior, linux-kernel
Cc: Darren Hart, Davidlohr Bueso, Ingo Molnar, Juri Lelli,
Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long
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>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/5] selftests/futex: Fix some futex_numa_mpol subtests
2025-08-27 13:00 ` [PATCH 2/5] selftests/futex: Fix some futex_numa_mpol subtests Sebastian Andrzej Siewior
@ 2025-08-27 15:40 ` André Almeida
2025-08-29 6:27 ` Sebastian Andrzej Siewior
2025-09-01 14:28 ` [tip: locking/futex] " tip-bot2 for Waiman Long
1 sibling, 1 reply; 16+ messages in thread
From: André Almeida @ 2025-08-27 15:40 UTC (permalink / raw)
To: Sebastian Andrzej Siewior, linux-kernel
Cc: Darren Hart, Davidlohr Bueso, Ingo Molnar, Juri Lelli,
Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, kernel-dev
Em 27/08/2025 10:00, Sebastian Andrzej Siewior escreveu:
> From: Waiman Long <longman@redhat.com>
>
> The "Memory out of range" subtest of futex_numa_mpol assumes that memory
> access outside of the mmap'ed area is invalid. That may not be the case
> depending on the actual memory layout of the test application. When
> that subtest was run on an x86-64 system with latest upstream kernel,
> the test passed as an error was returned from futex_wake(). On another
> powerpc system, the same subtest failed because futex_wake() returned 0.
>
> Bail out! futex2_wake(64, 0x86) should fail, but didn't
>
> Looking further into the passed subtest on x86-64, it was found that an
> -EINVAL was returned instead of -EFAULT. The -EINVAL error was returned
> because the node value test with FLAGS_NUMA set failed with a node value
> of 0x7f7f. IOW, the futex memory was accessible and futex_wake() failed
> because the supposed node number wasn't valid. If that memory location
> happens to have a very small value (e.g. 0), the test will pass and no
> error will be returned.
>
> Since this subtest is non-deterministic, it is dropped unless we
> explicitly set a guard page beyond the mmap region.
>
> The other problematic test is the "Memory too small" test. The
> futex_wake() function returns the -EINVAL error code because the given
> futex address isn't 8-byte aligned, not because only 4 of the 8 bytes
> are valid and the other 4 bytes are not. So proper name of this subtest
> is changed to "Mis-aligned futex" to reflect the reality.
>
As we discussed in the original patch thread[1], I have a proposal for
this test case to be refactored instead of being removed. I will send a
patch for this in a bit.
[1]
https://lore.kernel.org/all/336a1a43-54ac-4f53-b3a8-5e46f6d45359@igalia.com/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 4/5] selftests/futex: fix typos and grammar in futex_priv_hash
2025-08-27 13:00 ` [PATCH 4/5] selftests/futex: fix typos and grammar " Sebastian Andrzej Siewior
@ 2025-08-27 15:49 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] selftests/futex: Fix " tip-bot2 for Gopi Krishna Menon
1 sibling, 0 replies; 16+ messages in thread
From: André Almeida @ 2025-08-27 15:49 UTC (permalink / raw)
To: Sebastian Andrzej Siewior, linux-kernel
Cc: Darren Hart, Davidlohr Bueso, Ingo Molnar, Juri Lelli,
Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, Gopi Krishna Menon
Em 27/08/2025 10:00, Sebastian Andrzej Siewior escreveu:
> From: Gopi Krishna Menon <krishnagopi487@gmail.com>
>
> Fix multiple typos and small grammar issues in help text,
> comments and test messages in futex_priv_hash test.
>
> Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
> Link: https://lore.kernel.org/r/20250819155755.4665-1-krishnagopi487@gmail.com
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 5/5] selftests/futex: fix futex_wait() for 32bit ARM
2025-08-27 13:00 ` [PATCH 5/5] selftests/futex: fix futex_wait() for 32bit ARM Sebastian Andrzej Siewior
@ 2025-08-27 15:50 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] selftests/futex: Fix " tip-bot2 for Dan Carpenter
1 sibling, 0 replies; 16+ messages in thread
From: André Almeida @ 2025-08-27 15:50 UTC (permalink / raw)
To: Sebastian Andrzej Siewior, linux-kernel
Cc: Darren Hart, Davidlohr Bueso, Ingo Molnar, Juri Lelli,
Peter Zijlstra, Thomas Gleixner, Valentin Schneider,
Borislav Petkov, Waiman Long, Dan Carpenter, Anders Roxell
Em 27/08/2025 10:00, Sebastian Andrzej Siewior escreveu:
> From: Dan Carpenter <dan.carpenter@linaro.org>
>
> On 32bit ARM systems gcc-12 will use 32bit timestamps while gcc-13 and
> later will use 64bit timestamps. The problem is that SYS_futex will
> continue pointing at the 32bit system call. This makes the futex_wait
> test fail like this:
>
> waiter failed errno 110
> not ok 1 futex_wake private returned: 0 Success
> waiter failed errno 110
> not ok 2 futex_wake shared (page anon) returned: 0 Success
> waiter failed errno 110
> not ok 3 futex_wake shared (file backed) returned: 0 Success
>
> Instead of compiling differently depending on the gcc version, use the
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 options to ensure that we are
> building with 64bit timestamps. Then use ifdefs to make SYS_futex point
> to the 64bit system call.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> Tested-by: Anders Roxell <anders.roxell@linaro.org>
> Link: https://lore.kernel.org/r/ebd4a415169f9a3153bbd3c1fe6244511c9d1cb3.1756217858.git.dan.carpenter@linaro.org
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: André Almeida <andrealmeid@igalia.com>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/5] selftests/futex: Fix some futex_numa_mpol subtests
2025-08-27 15:40 ` André Almeida
@ 2025-08-29 6:27 ` Sebastian Andrzej Siewior
0 siblings, 0 replies; 16+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-08-29 6:27 UTC (permalink / raw)
To: André Almeida, Borislav Petkov, Peter Zijlstra
Cc: linux-kernel, Darren Hart, Davidlohr Bueso, Ingo Molnar,
Juri Lelli, Thomas Gleixner, Valentin Schneider, Waiman Long,
kernel-dev
On 2025-08-27 12:40:26 [-0300], André Almeida wrote:
> As we discussed in the original patch thread[1], I have a proposal for this
> test case to be refactored instead of being removed. I will send a patch for
> this in a bit.
As per
https://lore.kernel.org/all/c61e7737-bfc7-4de8-962e-652aa3dbfd40@igalia.com/
André does not object getting in the -rc cycle. I would prefer this now
and the rework for the merge window.
If you prefer to wait for it and delay it until the next -rc release, be
my guest.
Sebastian
^ permalink raw reply [flat|nested] 16+ messages in thread
* [tip: locking/futex] selftests/futex: Fix futex_wait() for 32bit ARM
2025-08-27 13:00 ` [PATCH 5/5] selftests/futex: fix futex_wait() for 32bit ARM Sebastian Andrzej Siewior
2025-08-27 15:50 ` André Almeida
@ 2025-09-01 14:28 ` tip-bot2 for Dan Carpenter
1 sibling, 0 replies; 16+ messages in thread
From: tip-bot2 for Dan Carpenter @ 2025-09-01 14:28 UTC (permalink / raw)
To: linux-tip-commits
Cc: Dan Carpenter, Sebastian Andrzej Siewior, Borislav Petkov (AMD),
andrealmeid, Anders Roxell, x86, linux-kernel
The following commit has been merged into the locking/futex branch of tip:
Commit-ID: 237bfb76c90b184f57bb18fe35ff366c19393dc8
Gitweb: https://git.kernel.org/tip/237bfb76c90b184f57bb18fe35ff366c19393dc8
Author: Dan Carpenter <dan.carpenter@linaro.org>
AuthorDate: Wed, 27 Aug 2025 15:00:11 +02:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Mon, 01 Sep 2025 16:26:55 +02:00
selftests/futex: Fix futex_wait() for 32bit ARM
On 32bit ARM systems gcc-12 will use 32bit timestamps while gcc-13 and later
will use 64bit timestamps. The problem is that SYS_futex will continue
pointing at the 32bit system call. This makes the futex_wait test fail like
this:
waiter failed errno 110
not ok 1 futex_wake private returned: 0 Success
waiter failed errno 110
not ok 2 futex_wake shared (page anon) returned: 0 Success
waiter failed errno 110
not ok 3 futex_wake shared (file backed) returned: 0 Success
Instead of compiling differently depending on the gcc version, use the
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 options to ensure that 64bit timestamps
are used. Then use ifdefs to make SYS_futex point to the 64bit system call.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
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>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Link: https://lore.kernel.org/20250827130011.677600-6-bigeasy@linutronix.de
---
tools/testing/selftests/futex/functional/Makefile | 2 +-
tools/testing/selftests/futex/include/futextest.h | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile
index 8cfb87f..ddfa61d 100644
--- a/tools/testing/selftests/futex/functional/Makefile
+++ b/tools/testing/selftests/futex/functional/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
INCLUDES := -I../include -I../../ $(KHDR_INCLUDES)
-CFLAGS := $(CFLAGS) -g -O2 -Wall -pthread $(INCLUDES) $(KHDR_INCLUDES)
+CFLAGS := $(CFLAGS) -g -O2 -Wall -pthread -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 $(INCLUDES) $(KHDR_INCLUDES)
LDLIBS := -lpthread -lrt -lnuma
LOCAL_HDRS := \
diff --git a/tools/testing/selftests/futex/include/futextest.h b/tools/testing/selftests/futex/include/futextest.h
index 7a5fd1d..3d48e97 100644
--- a/tools/testing/selftests/futex/include/futextest.h
+++ b/tools/testing/selftests/futex/include/futextest.h
@@ -58,6 +58,17 @@ typedef volatile u_int32_t futex_t;
#define SYS_futex SYS_futex_time64
#endif
+/*
+ * On 32bit systems if we use "-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" or if
+ * we are using a newer compiler then the size of the timestamps will be 64bit,
+ * however, the SYS_futex will still point to the 32bit futex system call.
+ */
+#if __SIZEOF_POINTER__ == 4 && defined(SYS_futex_time64) && \
+ defined(_TIME_BITS) && _TIME_BITS == 64
+# undef SYS_futex
+# define SYS_futex SYS_futex_time64
+#endif
+
/**
* futex() - SYS_futex syscall wrapper
* @uaddr: address of first futex
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [tip: locking/futex] selftests/futex: Fix typos and grammar in futex_priv_hash
2025-08-27 13:00 ` [PATCH 4/5] selftests/futex: fix typos and grammar " Sebastian Andrzej Siewior
2025-08-27 15:49 ` André Almeida
@ 2025-09-01 14:28 ` tip-bot2 for Gopi Krishna Menon
1 sibling, 0 replies; 16+ messages in thread
From: tip-bot2 for Gopi Krishna Menon @ 2025-09-01 14:28 UTC (permalink / raw)
To: linux-tip-commits
Cc: Gopi Krishna Menon, Sebastian Andrzej Siewior,
Borislav Petkov (AMD), andrealmeid, x86, linux-kernel
The following commit has been merged into the locking/futex branch of tip:
Commit-ID: 5fdb877b4916a1eb2b2c85018c2311855893405b
Gitweb: https://git.kernel.org/tip/5fdb877b4916a1eb2b2c85018c2311855893405b
Author: Gopi Krishna Menon <krishnagopi487@gmail.com>
AuthorDate: Wed, 27 Aug 2025 15:00:10 +02:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Mon, 01 Sep 2025 16:21:02 +02:00
selftests/futex: Fix typos and grammar in futex_priv_hash
Fix multiple typos and small grammar issues in help text, comments and test
messages in the futex_priv_hash test.
Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
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-5-bigeasy@linutronix.de
---
tools/testing/selftests/futex/functional/futex_priv_hash.c | 8 +++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_priv_hash.c b/tools/testing/selftests/futex/functional/futex_priv_hash.c
index ffd60d0..95f0160 100644
--- a/tools/testing/selftests/futex/functional/futex_priv_hash.c
+++ b/tools/testing/selftests/futex/functional/futex_priv_hash.c
@@ -188,7 +188,7 @@ int main(int argc, char *argv[])
if (ret != 0)
ksft_exit_fail_msg("pthread_join() failed: %d, %m\n", ret);
- /* First thread, has to initialiaze private hash */
+ /* First thread, has to initialize private hash */
futex_slots1 = futex_hash_slots_get();
if (futex_slots1 <= 0) {
ksft_print_msg("Current hash buckets: %d\n", futex_slots1);
@@ -256,17 +256,17 @@ retry_getslots:
futex_hash_slots_set_verify(2);
join_max_threads();
- ksft_test_result(counter == MAX_THREADS, "Created of waited for %d of %d threads\n",
+ ksft_test_result(counter == MAX_THREADS, "Created and waited for %d of %d threads\n",
counter, MAX_THREADS);
counter = 0;
- /* Once the user set something, auto reisze must be disabled */
+ /* Once the user set something, auto resize must be disabled */
ret = pthread_barrier_init(&barrier_main, NULL, MAX_THREADS);
create_max_threads(thread_lock_fn);
join_max_threads();
ret = futex_hash_slots_get();
- ksft_test_result(ret == 2, "No more auto-resize after manaul setting, got %d\n",
+ ksft_test_result(ret == 2, "No more auto-resize after manual setting, got %d\n",
ret);
futex_hash_slots_set_must_fail(1 << 29);
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [tip: locking/futex] selftests/futex: Fix format-security warnings in futex_priv_hash
2025-08-27 13:00 ` [PATCH 3/5] selftests/futex: fix format-security warnings in futex_priv_hash Sebastian Andrzej Siewior
@ 2025-09-01 14:28 ` tip-bot2 for Nai-Chen Cheng
0 siblings, 0 replies; 16+ messages in thread
From: tip-bot2 for Nai-Chen Cheng @ 2025-09-01 14:28 UTC (permalink / raw)
To: linux-tip-commits
Cc: Nai-Chen Cheng, Sebastian Andrzej Siewior, Borislav Petkov (AMD),
x86, linux-kernel
The following commit has been merged into the locking/futex branch of tip:
Commit-ID: f8ef9c24029c85cd0328a9c668283017d8c292ad
Gitweb: https://git.kernel.org/tip/f8ef9c24029c85cd0328a9c668283017d8c292ad
Author: Nai-Chen Cheng <bleach1827@gmail.com>
AuthorDate: Wed, 27 Aug 2025 15:00:09 +02:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Mon, 01 Sep 2025 16:20:08 +02:00
selftests/futex: Fix format-security warnings in futex_priv_hash
Fix format-security warnings by using proper format strings when passing
message variables to ksft_exit_fail_msg(), ksft_test_result_pass(), and
ksft_test_result_skip() function.
Thus prevent potential security issues and eliminate compiler warnings when
building with -Wformat-security.
Signed-off-by: Nai-Chen Cheng <bleach1827@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250827130011.677600-4-bigeasy@linutronix.de
---
tools/testing/selftests/futex/functional/futex_priv_hash.c | 10 +++----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_priv_hash.c b/tools/testing/selftests/futex/functional/futex_priv_hash.c
index ec032fa..ffd60d0 100644
--- a/tools/testing/selftests/futex/functional/futex_priv_hash.c
+++ b/tools/testing/selftests/futex/functional/futex_priv_hash.c
@@ -192,10 +192,10 @@ int main(int argc, char *argv[])
futex_slots1 = futex_hash_slots_get();
if (futex_slots1 <= 0) {
ksft_print_msg("Current hash buckets: %d\n", futex_slots1);
- ksft_exit_fail_msg(test_msg_auto_create);
+ ksft_exit_fail_msg("%s", test_msg_auto_create);
}
- ksft_test_result_pass(test_msg_auto_create);
+ ksft_test_result_pass("%s", test_msg_auto_create);
online_cpus = sysconf(_SC_NPROCESSORS_ONLN);
ret = pthread_barrier_init(&barrier_main, NULL, MAX_THREADS + 1);
@@ -236,11 +236,11 @@ retry_getslots:
}
ksft_print_msg("Expected increase of hash buckets but got: %d -> %d\n",
futex_slots1, futex_slotsn);
- ksft_exit_fail_msg(test_msg_auto_inc);
+ ksft_exit_fail_msg("%s", test_msg_auto_inc);
}
- ksft_test_result_pass(test_msg_auto_inc);
+ ksft_test_result_pass("%s", test_msg_auto_inc);
} else {
- ksft_test_result_skip(test_msg_auto_inc);
+ ksft_test_result_skip("%s", test_msg_auto_inc);
}
ret = pthread_mutex_unlock(&global_lock);
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [tip: locking/futex] selftests/futex: Fix some futex_numa_mpol subtests
2025-08-27 13:00 ` [PATCH 2/5] selftests/futex: Fix some futex_numa_mpol subtests Sebastian Andrzej Siewior
2025-08-27 15:40 ` André Almeida
@ 2025-09-01 14:28 ` tip-bot2 for Waiman Long
1 sibling, 0 replies; 16+ messages in thread
From: tip-bot2 for Waiman Long @ 2025-09-01 14:28 UTC (permalink / raw)
To: linux-tip-commits
Cc: Waiman Long, Sebastian Andrzej Siewior, Borislav Petkov (AMD),
x86, linux-kernel
The following commit has been merged into the locking/futex branch of tip:
Commit-ID: d8e2f919997b14665e4509ef9a5278f291598d6e
Gitweb: https://git.kernel.org/tip/d8e2f919997b14665e4509ef9a5278f291598d6e
Author: Waiman Long <longman@redhat.com>
AuthorDate: Wed, 27 Aug 2025 15:00:08 +02:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Mon, 01 Sep 2025 16:12:54 +02:00
selftests/futex: Fix some futex_numa_mpol subtests
The "Memory out of range" subtest of futex_numa_mpol assumes that memory
access outside of the mmap'ed area is invalid. That may not be the case
depending on the actual memory layout of the test application. When that
subtest was run on an x86-64 system with latest upstream kernel, the test
passed as an error was returned from futex_wake(). On another PowerPC system,
the same subtest failed because futex_wake() returned 0.
Bail out! futex2_wake(64, 0x86) should fail, but didn't
Looking further into the passed subtest on x86-64, it was found that an
-EINVAL was returned instead of -EFAULT. The -EINVAL error was returned
because the node value test with FLAGS_NUMA set failed with a node value
of 0x7f7f. IOW, the futex memory was accessible and futex_wake() failed
because the supposed node number wasn't valid. If that memory location
happens to have a very small value (e.g. 0), the test will pass and no
error will be returned.
Since this subtest is non-deterministic, drop it unless a guard page beyond
the mmap region is explicitly set.
The other problematic test is the "Memory too small" test. The futex_wake()
function returns the -EINVAL error code because the given futex address isn't
8-byte aligned, not because only 4 of the 8 bytes are valid and the other
4 bytes are not. So change the name of this subtest to "Mis-aligned futex" to
reflect the reality.
[ bp: Massage commit message. ]
Fixes: 3163369407ba ("selftests/futex: Add futex_numa_mpol")
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/20250827130011.677600-3-bigeasy@linutronix.de
---
tools/testing/selftests/futex/functional/futex_numa_mpol.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests/futex/functional/futex_numa_mpol.c b/tools/testing/selftests/futex/functional/futex_numa_mpol.c
index a9ecfb2..802c15c 100644
--- a/tools/testing/selftests/futex/functional/futex_numa_mpol.c
+++ b/tools/testing/selftests/futex/functional/futex_numa_mpol.c
@@ -182,12 +182,10 @@ int main(int argc, char *argv[])
if (futex_numa->numa == FUTEX_NO_NODE)
ksft_exit_fail_msg("NUMA node is left uninitialized\n");
- ksft_print_msg("Memory too small\n");
+ /* FUTEX2_NUMA futex must be 8-byte aligned */
+ ksft_print_msg("Mis-aligned futex\n");
test_futex(futex_ptr + mem_size - 4, 1);
- ksft_print_msg("Memory out of range\n");
- test_futex(futex_ptr + mem_size, 1);
-
futex_numa->numa = FUTEX_NO_NODE;
mprotect(futex_ptr, mem_size, PROT_READ);
ksft_print_msg("Memory, RO\n");
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [tip: locking/futex] selftests/futex: Remove the -g parameter from futex_priv_hash
2025-08-27 13:00 ` [PATCH 1/5] selftests/futex: Remove the -g parameter from futex_priv_hash Sebastian Andrzej Siewior
2025-08-27 15:38 ` André Almeida
@ 2025-09-01 14:28 ` tip-bot2 for Sebastian Andrzej Siewior
1 sibling, 0 replies; 16+ messages in thread
From: tip-bot2 for Sebastian Andrzej Siewior @ 2025-09-01 14:28 UTC (permalink / raw)
To: linux-tip-commits
Cc: Sebastian Andrzej Siewior, Borislav Petkov (AMD), andrealmeid,
x86, linux-kernel
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
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2025-09-01 14:28 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27 13:00 [PATCH 0/5] selftests/futex: Collected fixups Sebastian Andrzej Siewior
2025-08-27 13:00 ` [PATCH 1/5] selftests/futex: Remove the -g parameter from futex_priv_hash Sebastian Andrzej Siewior
2025-08-27 15:38 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] " tip-bot2 for Sebastian Andrzej Siewior
2025-08-27 13:00 ` [PATCH 2/5] selftests/futex: Fix some futex_numa_mpol subtests Sebastian Andrzej Siewior
2025-08-27 15:40 ` André Almeida
2025-08-29 6:27 ` Sebastian Andrzej Siewior
2025-09-01 14:28 ` [tip: locking/futex] " tip-bot2 for Waiman Long
2025-08-27 13:00 ` [PATCH 3/5] selftests/futex: fix format-security warnings in futex_priv_hash Sebastian Andrzej Siewior
2025-09-01 14:28 ` [tip: locking/futex] selftests/futex: Fix " tip-bot2 for Nai-Chen Cheng
2025-08-27 13:00 ` [PATCH 4/5] selftests/futex: fix typos and grammar " Sebastian Andrzej Siewior
2025-08-27 15:49 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] selftests/futex: Fix " tip-bot2 for Gopi Krishna Menon
2025-08-27 13:00 ` [PATCH 5/5] selftests/futex: fix futex_wait() for 32bit ARM Sebastian Andrzej Siewior
2025-08-27 15:50 ` André Almeida
2025-09-01 14:28 ` [tip: locking/futex] selftests/futex: Fix " tip-bot2 for Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).