aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2021-02-09 21:06:18 +0800
committerGao Xiang <[email protected]>2021-02-11 11:55:28 +0800
commitce063129181312f8781a047a50be439c5859747b (patch)
tree065c18d1f666853330c2a02cc1e0c4fa9a80c646 /tools/perf/scripts/python/exported-sql-viewer.py
parentbde545295b710bdd13a0fcd4b9fddd2383eeeb3a (diff)
erofs: initialized fields can only be observed after bit is set
Currently, although set_bit() & test_bit() pairs are used as a fast- path for initialized configurations. However, these atomic ops are actually relaxed forms. Instead, load-acquire & store-release form is needed to make sure uninitialized fields won't be observed in advance here (yet no such corresponding bitops so use full barriers instead.) Link: https://lore.kernel.org/r/[email protected] Fixes: 62dc45979f3f ("staging: erofs: fix race of initializing xattrs of a inode at the same time") Fixes: 152a333a5895 ("staging: erofs: add compacted compression indexes support") Cc: <[email protected]> # 5.3+ Reported-by: Huang Jianan <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions