[Codel] [PATCHv3 2/5] mac80211: implement fair queueing per txq

Michal Kazior michal.kazior at tieto.com
Mon Apr 18 01:16:52 EDT 2016


On 17 April 2016 at 00:25, Johannes Berg <johannes at sipsolutions.net> wrote:
> On Sun, 2016-04-17 at 00:23 +0200, Johannes Berg wrote:
>> On Thu, 2016-04-14 at 14:18 +0200, Michal Kazior wrote:
>> >
>> >
>> > +++ b/net/mac80211/fq.h
>> >
>> Now that you've mostly rewritten it, why keep it in a .h file?
>>
>
> I think I just confused this with codel.h, but still - why a .h file
> with all this "real" code, meaning the file can really only be included
> once?

I guess .h file can give the compiler an opportunity for more
optimizations. With .c you would need LTO which I'm not sure if it's
available everywhere.


MichaƂ


More information about the Codel mailing list