diff options
author | Fam Zheng <[email protected]> | 2019-08-28 11:54:51 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-09-06 14:33:48 -0600 |
commit | e9d3c866bf4cdbb6637e6cb268c26dfdf06d8cd3 (patch) | |
tree | e5054d61888dcf6f15a42f89d5e0a3018601538b /lib/test_overflow.c | |
parent | a26142559c2be8c0975b941e3110d23a9e552ce5 (diff) |
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 <[email protected]>
Reviewed-by: Paolo Valente <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions