summaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2025-05-28 11:55:20 +0300
committerPeter Zijlstra <peterz@infradead.org>2025-06-05 15:37:58 +0300
commit0ecb4232fc65e659ca7020f8bb2e0fc347acfb7d (patch)
treef66402d58251da8a222eab3a65915b316fd25e2d /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent1a9dcf69c7a97e733aa2fc026db22f22928ca7b7 (diff)
downloadlinux-0ecb4232fc65e659ca7020f8bb2e0fc347acfb7d.tar.xz
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 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions