From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 53F7A3B45B for ; Mon, 18 Apr 2016 01:16:53 -0400 (EDT) Received: by mail-wm0-x22a.google.com with SMTP id v188so102207730wme.1 for ; Sun, 17 Apr 2016 22:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=jqlqPy+8ymbDlMQJy8Cc88uC1tQ65FCmxjswO1j1cME=; b=hOndx0mVD3IpeUYi/IgGTKXi1MxxKTPM2nYdNT+KIeE49oH9F70XNiQY9aH1lpBmzd Pcu64VV4vAsQI08VqF82Ye28GgNBA83hfq8pxGw1TEddZSge8Y8ZTmlK6E38GbQ4ctQy jZr95U3tNE/20qU/OxdIZeR6axD+rIi++RQRU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=jqlqPy+8ymbDlMQJy8Cc88uC1tQ65FCmxjswO1j1cME=; b=YYkj/NbZpqSyuf+3AG4FlliE9YgZ5dtB8CQLzQcs2xw4pbrUjyEDlgbKFitlQIJLhM LdQEnskffAPAXWq7iZktD3F1wWD1EsQ+YMhwxTJdFd7GlvJgam4W7zV9telTcNaMZJJS +3wNkhBQ6mo4rL0IClHeOYa+85P+1N7SQQqW0rcE8ZiRK5+QnNJ0zC388B4gE+qMKqzF 1Do1N1ipJg3EPcuU7GaCpcvkZCZGtlXFwz1pD3w+pv1L9aNAEtwcfJHwCsD71wbXHeWU QpQyBKxY41vCB0lAK83PbuNbxa5DCBbJvHX664HBkvzKiJnEeGkaFHTIC65pHbl9QcVO Cqsg== X-Gm-Message-State: AOPr4FWOww8GiC/XRbqsnOyo3EE1HMzmpOpDbNH0xM2WdEAVp0mw0spsPtQtLCpbRbpqwGUMgAoc9POzBVrEGP66dyb8+k7KJDEds3eg5R7sRffKA9ME95SsqmqMtGT75slbPL4xxE3jKS2KoTR0/qVzjSRcU1qbdtws4w== MIME-Version: 1.0 X-Received: by 10.194.166.228 with SMTP id zj4mr7421114wjb.83.1460956612312; Sun, 17 Apr 2016 22:16:52 -0700 (PDT) Received: by 10.194.115.3 with HTTP; Sun, 17 Apr 2016 22:16:52 -0700 (PDT) In-Reply-To: <1460845552.2075.28.camel@sipsolutions.net> References: <1459420104-31554-1-git-send-email-michal.kazior@tieto.com> <1460636302-31161-1-git-send-email-michal.kazior@tieto.com> <1460636302-31161-3-git-send-email-michal.kazior@tieto.com> <1460845384.2075.27.camel@sipsolutions.net> <1460845552.2075.28.camel@sipsolutions.net> Date: Mon, 18 Apr 2016 07:16:52 +0200 Message-ID: From: Michal Kazior To: Johannes Berg Cc: linux-wireless , Dave Taht , make-wifi-fast@lists.bufferbloat.net, codel@lists.bufferbloat.net, Avery Pennarun Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-DomainID: tieto.com Subject: Re: [Make-wifi-fast] [PATCHv3 2/5] mac80211: implement fair queueing per txq X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 05:16:53 -0000 On 17 April 2016 at 00:25, Johannes Berg 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=C5=82