[Make-wifi-fast] [PATCH RFC v4 3/4] mac80211: Add airtime accounting and scheduling to TXQs
Toke Høiland-Jørgensen
toke at toke.dk
Fri Sep 28 07:02:55 EDT 2018
On 28 September 2018 12:47:51 CEST, Rajkumar Manoharan <rmanohar at codeaurora.org> wrote:
>On 2018-09-28 03:35, Jonathan Morton wrote:
>>> On 28 Sep, 2018, at 1:19 pm, Rajkumar Manoharan
>>> <rmanohar at codeaurora.org> wrote:
>>>
>>>> This is going to break fairness; we only want to increase deficits
>>>> when
>>>> all stations' deficits are negative. Hence the two loops. Did you
>see
>>>> any problems with those specifically?
>>>
>>> No. I didn't see any issue but the loop won't exit until one txq
>>> becomes positive.
>>> Till then the lock won't be released. Hence I converged into single
>>> iteration.
>>
>> The problem is that the fairness behaviour is changed when there are
>> already positive txqs, but the first one happens to not be positive.
>> That's why there were two loops.
>>
>Yeah.. Understood. we can ignore the cleanup change.
Great! I'll fold in the rest, test it with ath9k and submit as a proper patch :)
-Toke
More information about the Make-wifi-fast
mailing list