[RFC 51/60] cosched: Hacky work-around to avoid observing zero weight SD-SE

2018-09-07 Thread Jan H . Schönherr
The aggregated SD-SE weight is updated lock-free to avoid contention on the higher level. This also means, that we have to be careful with intermediate values as another CPU could pick up the value and perform actions based on it. Within reweight_entity() there is such a place, where weight is

[RFC 51/60] cosched: Hacky work-around to avoid observing zero weight SD-SE

2018-09-07 Thread Jan H . Schönherr
The aggregated SD-SE weight is updated lock-free to avoid contention on the higher level. This also means, that we have to be careful with intermediate values as another CPU could pick up the value and perform actions based on it. Within reweight_entity() there is such a place, where weight is