Searched hist:e9d3c866bf4cdbb6637e6cb268c26dfdf06d8cd3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/block/ |
H A D | bfq-wf2q.c | diff e9d3c866bf4cdbb6637e6cb268c26dfdf06d8cd3 Tue Aug 27 22:54:51 CDT 2019 Fam Zheng <zhengfeiran@bytedance.com> 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>
|