summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-cpumap.c
diff options
context:
space:
mode:
authorFam Zheng <zhengfeiran@bytedance.com>2019-08-28 05:54:51 +0200
committerJens Axboe <axboe@kernel.dk>2019-09-06 22:33:48 +0200
commite9d3c866bf4cdbb6637e6cb268c26dfdf06d8cd3 (patch)
treee5054d61888dcf6f15a42f89d5e0a3018601538b /block/blk-mq-cpumap.c
parentblock: fix elevator_get_by_features() (diff)
downloadlinux-e9d3c866bf4cdbb6637e6cb268c26dfdf06d8cd3.tar.xz
linux-e9d3c866bf4cdbb6637e6cb268c26dfdf06d8cd3.zip
bfq: Fix the missing barrier in __bfq_entity_update_weight_prio
The comment of bfq_group_set_weight says the reading of prio_changed should happen before the reading of weight, but a memory barrier is missing here. Add it now, to match the smp_wmb() there. Signed-off-by: Fam Zheng <zhengfeiran@bytedance.com> Reviewed-by: Paolo Valente <paolo.valente@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-cpumap.c')
0 files changed, 0 insertions, 0 deletions