Commit 030f381
Luke Robison
pml/cm: Correct pml request memory leak in MPI_Recv
This addresses a leak introduced in
73977ba. It can be observed by an
mpi application using pml/cm calling MPI_Recv many times which will
eventually OOM.
During investigation I also wondered if there was significant
performance impact from using the list rather than stack-based alloca,
however testing shows no performance difference beyond measurement
noise of ~0.5 usec, so keep the refactor, and just ensure the request
object is returned.
Signed-off-by: Luke Robison <[email protected]>1 parent cb00772 commit 030f381
1 file changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 124 | | |
133 | 125 | | |
134 | 126 | | |
| |||
159 | 151 | | |
160 | 152 | | |
161 | 153 | | |
162 | | - | |
163 | 154 | | |
164 | 155 | | |
165 | 156 | | |
| |||
0 commit comments