Commit a6a23d8
committed
part: Only reuse watches hash map when it is small
[ upstream commit d02e729 ]
This avoids carrying over a large allocation [txn.watches] from a
massive one-off transaction into future transactions.
This should mitigate cilium/cilium#44310.
Signed-off-by: Jussi Maki <jussi.maki@isovalent.com>1 parent c7344ec commit a6a23d8
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
191 | 195 | | |
192 | | - | |
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
196 | 205 | | |
197 | 206 | | |
198 | 207 | | |
| |||
0 commit comments