]> Git Repo - linux.git/commit
blk-iocost: use local[64]_t for percpu stat
authorTejun Heo <[email protected]>
Tue, 1 Sep 2020 18:52:33 +0000 (14:52 -0400)
committerJens Axboe <[email protected]>
Wed, 2 Sep 2020 01:38:31 +0000 (19:38 -0600)
commit5e124f74325d8181b3275a704e87e44246c484f6
tree62c463361c421c181e8c4a2773d60781a3ab083d
parent1f06959bd2c96342dbac8e29994dd4f69deb956e
blk-iocost: use local[64]_t for percpu stat

blk-iocost has been reading percpu stat counters from remote cpus which on
some archs can lead to torn reads in really rare occassions. Use local[64]_t
for those counters.

Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-iocost.c
This page took 0.038895 seconds and 4 git commands to generate.