[Openmp-commits] [PATCH] D62488: Fix for https://bugs.llvm.org/show_bug.cgi?id=26540.

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon May 27 09:39:13 PDT 2019


AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: tlwilmar, hbae, jlpeyton.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: openmp-commits, jdoerfert.

Added propagation of not big initial stack size of master thread to workers.

Currently implemented only for non-Windows 64-bit platforms (not requested on Windows so far;
32-bit systems have small memory, so it is tricky to find reasonable threshold to limit propagation).

For 64-bit the limit of 256 MB chosen (almost arbitrary, can be debatable...).


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D62488

Files:
  runtime/src/kmp.h
  runtime/src/kmp_settings.cpp
  runtime/src/z_Linux_util.cpp
  runtime/test/misc_bugs/stack-propagate.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62488.201541.patch
Type: text/x-patch
Size: 4064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190527/ddf8b739/attachment.bin>


More information about the Openmp-commits mailing list