[all-commits] [llvm/llvm-project] a86b17: [msan][test] Use a large cpusetsize for pthread_ge...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Jun 8 18:50:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a86b171d8cd01ff2a003533d7d3e3d79ce22161e
https://github.com/llvm/llvm-project/commit/a86b171d8cd01ff2a003533d7d3e3d79ce22161e
Author: Fangrui Song <i at maskray.me>
Date: 2022-06-08 (Wed, 08 Jun 2022)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_getaffinity_np.cpp
Log Message:
-----------
[msan][test] Use a large cpusetsize for pthread_getaffinity_np
pthread_getaffinity_np (Linux `kernel/sched/core.c:sched_getaffinity`) fails
with EINVAL if 8*cpusetsize (constant in glibc: 1024) is smaller than
`nr_cpu_ids` (CONFIG_NR_CPUS, which is 2048 for several arch/powerpc/configs
configurations).
The build bot clang-ppc64le-linux-lnt seems to have a larger `nr_cpu_ids`.
Differential Revision: https://reviews.llvm.org/D127368
More information about the All-commits
mailing list