diff options
| author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2022-11-22 14:42:58 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-11-22 19:38:39 -0700 |
| commit | f2d03d89615ef65b5dff3aae6581df0b5fcbaa3b (patch) | |
| tree | 23fafdf5532cad8584ae1b6879279f64cbe2d4eb /tools/perf/scripts/python | |
| parent | block: fix missing nr_hw_queues update in blk_mq_realloc_tag_set_tags (diff) | |
| download | linux-f2d03d89615ef65b5dff3aae6581df0b5fcbaa3b.tar.gz linux-f2d03d89615ef65b5dff3aae6581df0b5fcbaa3b.zip | |
lru_cache: use atomic operations when accessing lc->flags, always
Or, depending on the way locking is implemented at the call sites,
some updates could be lost (has not been observed).
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20221122134301.69258-2-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
