[Openmp-commits] [PATCH] D99218: [OpenMP] Allow affinity to re-detect for child processes

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 23 15:03:11 PDT 2021


jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar, hbae, Nawrin.
jlpeyton added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
jlpeyton requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Current atfork() handler for child processes does not reset the affinity masks array which prevents users from setting their own affinity in child processes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99218

Files:
  openmp/runtime/src/z_Linux_util.cpp
  openmp/runtime/test/affinity/libomp_test_affinity.h
  openmp/runtime/test/affinity/redetect.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99218.332799.patch
Type: text/x-patch
Size: 7778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210323/1d7ff391/attachment.bin>


More information about the Openmp-commits mailing list