diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2025-09-15 23:26:30 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-09-17 19:48:45 +0200 |
commit | ed323aeda5e09fa1ab95946673939c8c425c329c (patch) | |
tree | e59bb6c9995f511f7078cbd5eac6986e3551b65e /scripts/gdb/linux/modules.py | |
parent | 2951dddef0a87c20e83c77070bd5077290d9121f (diff) |
selftest/futex: Compile also with libnuma < 2.0.16
After using numa_set_mempolicy_home_node() the test fails to compile on
systems with libnuma library versioned lower than 2.0.16.
In order to allow lower library version add a pkg-config related check
and exclude that part of the code. Without the proper MPOL setup it
can't be tested.
Make a total number of tests two. The first one is the first batch and
the second is the MPOL related one. The goal is to let the user know if
it has been skipped due to library limitation.
Remove test_futex_mpol(), it was unused and it is now complained by the
compiler if the part is not compiled.
Fixes: 0ecb4232fc65e ("selftests/futex: Set the home_node in futex_numa_mpol")
Closes: https://lore.kernel.org/oe-lkp/202507150858.bedaf012-lkp@intel.com
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions