-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3729 from panzone/fifo-registered-stacks
Fifo task stacks allocated in Chapel heap memory [PR prepared by @Panzone, merged by @mppf] This pull request modifies the fifo tasks, making them to use a chapel-allocated memory area as their stack. This PR is a continuation of the work done in PR #2149. On some occasions the stack isn’t allocated in a chapel-allocated memory area because the runtime can’t currently generate a guard page for the stack in those occasions. It passes all local tests in test/runtime and test/release on both linux64 and darwin using both cstdlib and jemalloc I’ve also test it using a simple, infinite recursive proc on darwin (using both cstdlib and jemalloc) and I’ve manually checked the addresses for seeing if the access to the guard page blocked the application. [Reviewed by @gbtitus and @mppf] [Also passed release/examples with fifo+ugni+huge pages]
- Loading branch information
Showing
3 changed files
with
308 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.