aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2016-05-04 16:56:43 -0400
committerDavid S. Miller <davem@davemloft.net>2016-05-04 17:11:37 -0400
commit67a95e2022c7f0405408fb1f910283785ece354a (patch)
treeba7439fac778de34a693ee7a3b0d446f70c5a8ba /tools/perf/scripts/python/export-to-postgresql.py
parent32b583a0cb9b757d68c44f2819fa6ccf95dbb953 (diff)
bnxt_en: Need memory barrier when processing the completion ring.
The code determines if the next ring entry is valid before proceeding further to read the rest of the entry. The CPU can re-order and read the rest of the entry first, possibly reading a stale entry, if DMA of a new entry happens right after reading it. This issue can be readily seen on a ppc64 system, causing it to crash. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions