HardenedBSD/contrib/llvm-project
Dimitry Andric 22b3e7898e Merge commit 73bb8d9d92f6 from llvm-project (by Jonathan Peyton):
[OpenMP] Fix child processes to use affinity_none (#91391)

  When a child process is forked with OpenMP already initialized, the
  child process resets its affinity mask and sets proc-bind-var to false
  so that the entire original affinity mask is used. This patch corrects
  an issue with the affinity initialization code setting affinity to
  compact instead of none for this special case of forked children.

  The test trying to catch this only testing explicit setting of
  KMP_AFFINITY=none. Add test run for no KMP_AFFINITY setting.

  Fixes: #91098

This should fix OpenMP processes sometimes getting stuck on a single CPU
core.

PR:		278845
Reported by:	Cassidy B. Larson <cbl@cbl.us>
MFC after:	3 days
2024-05-08 20:45:45 +02:00
..
clang Merge llvm-project release/18.x llvmorg-18.1.5-0-g617a15a9eac9 2024-05-04 17:44:49 +02:00
compiler-rt
libcxx Merge llvm-project release/18.x llvmorg-18.1.5-0-g617a15a9eac9 2024-05-04 17:44:49 +02:00
libunwind
lld
lldb
llvm Merge llvm-project release/18.x llvmorg-18.1.5-0-g617a15a9eac9 2024-05-04 17:44:49 +02:00
openmp Merge commit 73bb8d9d92f6 from llvm-project (by Jonathan Peyton): 2024-05-08 20:45:45 +02:00
FREEBSD-Xlist