diff options
author | Ciara Loftus <ciara.loftus@intel.com> | 2020-06-09 13:19:45 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-06-18 22:35:34 -0700 |
commit | b1d95cc2391ffac0c5b27256a4fb0d2cfb021a29 (patch) | |
tree | daba3edf8a8be9f2f85ae07209ecb033e8295882 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d59e267912cd90b0adf33b4659050d831e746317 (diff) |
ice: protect ring accesses with WRITE_ONCE
The READ_ONCE macro is used when reading rings prior to accessing the
statistics pointer. The corresponding WRITE_ONCE usage when allocating and
freeing the rings to ensure protected access was not in place. Introduce
this.
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions