-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ch4/posix: use static shm_limit_counter
current main branch sets MPIDI_POSIX_shm_limit_counter as MPIDI_POSIX_global.shm_ptr, which is to record total amount of shm mem used in coll calls. However, during finalize stage, MPIDI_POSIX_global will be freed first and the following operations on MPIDI_POSIX_shm_limit_counter will be invalid and cause memory segmentation fault. This commit makes MPIDI_POSIX_shm_limit_counter point to global variable and avoid considering the finalize sequence.
- Loading branch information
Kaiming Ouyang
committed
Nov 6, 2020
1 parent
9d2b8b1
commit 64908b7
Showing
3 changed files
with
3 additions
and
14 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
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