diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2025-05-28 10:55:20 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-06-05 14:37:58 +0200 |
commit | 0ecb4232fc65e659ca7020f8bb2e0fc347acfb7d (patch) | |
tree | f66402d58251da8a222eab3a65915b316fd25e2d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1a9dcf69c7a97e733aa2fc026db22f22928ca7b7 (diff) |
selftests/futex: Set the home_node in futex_numa_mpol
The test fails at the MPOL step if multiple nodes are available. The
reason is that mbind() sets the policy but the home_node, which is
retrieved by the futex code, is not set. This causes to retrieve the
current node and with multiple nodes it fails on one of the iterations.
Use numa_set_mempolicy_home_node() to set the expected node.
Use ksft_exit_fail_msg() to fail and exit in order not to confuse ktap.
Fixes: 3163369407baf ("selftests/futex: Add futex_numa_mpol")
Suggested-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250528085521.1938355-3-bigeasy@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions