diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2025-05-28 08:55:20 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2025-06-05 12:37:58 +0000 |
| commit | 0ecb4232fc65e659ca7020f8bb2e0fc347acfb7d (patch) | |
| tree | f66402d58251da8a222eab3a65915b316fd25e2d /drivers/fpga/altera-fpga2sdram.c | |
| parent | selftests/futex: getopt() requires int as return value. (diff) | |
| download | kernel-0ecb4232fc65e659ca7020f8bb2e0fc347acfb7d.tar.gz kernel-0ecb4232fc65e659ca7020f8bb2e0fc347acfb7d.zip | |
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 <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
