Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2361141ybx; Fri, 8 Nov 2019 03:17:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzV9RtbLwxyOJR10fbNZGU2jtGaQh9I+tO4EZYqkMwW8JQISJeRyog6RsKlL6jKhRQ1l9jl X-Received: by 2002:a05:6402:512:: with SMTP id m18mr9642714edv.250.1573211873250; Fri, 08 Nov 2019 03:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573211873; cv=none; d=google.com; s=arc-20160816; b=nDO1jGenyePzckC0dsKXMZ4sP6JXP0IablWAbf95QhJ/IQkWgqdGkh+aTGo1ARFvAE 6fFsWT0ZOPMRF7UdXks5YEVngVIpkePdc4+MbzZnXwHM94Nud3pg7Sj1IWjUhhKKcNUH zw4E7nB8pORkNWIVyEcrXd6wpFpc2ft186bXmNB8Es2FjQU1hPEBR/wP5Ho3gITy9HNE rM5nL+A6TKIKNRbFS/CAg+61zoc1OrvBCnJjIrkl+ywydD8C+dUKgrZA1hl8M7Oi8SxT G9iiL5+tVRw+b/ph2DN+tqHDoRbCZI4tooHaczF5Cm3nF4489Lj6mzBTF0rZ6FompSnH t9QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=wjwaeoTWBrdKs1hytX1zwtOJxpnq89dGUuVXs/vYjhs=; b=oFseBW0tKq4y7LZBZX50Jxbzr0TjCQH6JUCAJvE9Ex+ZBasUXuE60yT0bE2M6HABUg IS7Ove0U+ZXHceVPUrYeCWh5AcSGfWRm09vH8IDVAg5ngsDGmyDevsT6Ah6zpCdXDT5A kh3jJicp88Iar5UDizEjU3pMFK0Vyp8aVsF2U3FdgdY5paImu4UhHPALCSkA9yKjV0Wg EakmhxV9lf9CvBs9r5XFgtzRcy9zO3PM3FFfuR33xs/+9foKJqSsyKxF89H1phz7jtti PVzYRov4lLYiN2fP0aVZdke41ximhawL87sgpMqoA3Ew1a7rbnl5bdSPcv4h9gShZaoc u7CA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i16si3725746ejh.75.2019.11.08.03.17.27; Fri, 08 Nov 2019 03:17:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730622AbfKHLR0 (ORCPT + 99 others); Fri, 8 Nov 2019 06:17:26 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:56026 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729896AbfKHLR0 (ORCPT ); Fri, 8 Nov 2019 06:17:26 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.3) (envelope-from ) id 1iT2Ga-0000cW-Cz; Fri, 08 Nov 2019 12:17:24 +0100 Message-ID: <300bf0146db6c0d5890699b3911d35174d28c9c0.camel@sipsolutions.net> Subject: Re: [PATCH v6 3/4] mac80211: Implement Airtime-based Queue Limit (AQL) From: Johannes Berg To: Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= Cc: linux-wireless@vger.kernel.org, make-wifi-fast@lists.bufferbloat.net, ath10k@lists.infradead.org, John Crispin , Lorenzo Bianconi , Felix Fietkau , Kan Yan , Rajkumar Manoharan , Kevin Hayes Date: Fri, 08 Nov 2019 12:17:22 +0100 In-Reply-To: <874kzefwt3.fsf@toke.dk> References: <157182473951.150713.7978051149956899705.stgit@toke.dk> <157182474287.150713.12867638269538730397.stgit@toke.dk> <1a2eb096119c9029e67caf797564d6511c8803a7.camel@sipsolutions.net> <87a796fxgd.fsf@toke.dk> <874kzefwt3.fsf@toke.dk> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 2019-11-08 at 12:10 +0100, Toke Høiland-Jørgensen wrote: > Right, bugger. I was thinking maybe there's a case where skbs can be > cloned (and retain the tx_time_est field) and then released twice? They could be cloned, but I don't see how that'd be while *inside* the stack and then they get reported twice - unless the driver did something like that? I mean, TCP surely does that for example, but it's before we even get to mac80211. > Or > maybe somewhere that steps on the skb->cb field in some other way? > Couldn't find anything obvious on a first perusal of the TX path code, > but maybe you could think of something? No, sorry. But I also didn't actually look at the driver at all. > Otherwise I guess we'll be forced to go and do some actual, > old-fashioned debugging ;) :) johannes