diff options
| author | Arthur Kepner <[email protected]> | 2015-11-04 21:10:09 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-11-15 20:02:47 -0800 |
| commit | 3e7ccca08dbe46665ca432d09a5472d80aaadb6f (patch) | |
| tree | b685940732dae5feca02cc4154f32e60dcb34169 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 701e441d82689c21afd699b229d338783f3463b1 (diff) | |
staging/rdma/hfi1: don't cache "prescan head"
When HFI1_CAP_DMA_RTAIL is toggled off the "prescan head" can get out of sync
with the receive context's "head". This happens when, after prescan_rxq() newly
arrived packets are then received, and processed by an RX interrupt handler.
This is an unavoidable race, and to avoid getting out of sync we always start
prescanning at the current "rcd->head" entry.
Reviewed-by: Mike Marciniszyn <[email protected]>
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Arthur Kepner <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions