Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp332505pxj; Thu, 17 Jun 2021 03:53:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCylUMq8UPSmIlNlJ3OlfuSZDwJ11dQ/m263xrB8iKrfmLeOVw+SjngbtjaronKcNNW75T X-Received: by 2002:a05:6e02:1a01:: with SMTP id s1mr3049506ild.307.1623927194098; Thu, 17 Jun 2021 03:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623927194; cv=none; d=google.com; s=arc-20160816; b=nlmSkEzeCplqliftwxYJQqCy/5EspmD1j+BXHBedNUCVQCpTciEtqNjP5edaeua/Kw rdP/O8jI8Kr0yxvfzUNnUVEBFgElxKacwGlzLegQ3m+QEAFL9hAfGfk/KpvFgiXvRgMR DRRQxg2VASkdrJdF8Pbre+KXYCBQgseZuYDr5N8M/jUEPEn22wIgtTaqKtxBJC4GEons gTUbrlX6eUWp/3ghA3wcsb+C7fpPCiMGBZXAooclxZE8j99hZSx6pyyfhaDIO5J39DNM KxlOdkj4FlibkQYgTXERoB3PFQjIABeQuPID4UbsGAwKDr0JynyBFpuhUHtkRGnxQ9wq ZV3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=j/udkT5IeBSNjwumPYiud7qBUHcZ1EN6G37If3NBOIU=; b=E3zPk4x7IdVeCQ1KHZ3eAH9TuOaFI+Sre0Ex55GjP3K4KP7aUvAMeSBgKLSOBa96Vt yAJSVQGA2ftUf7jffzxV1st1t1CiOMTiJpmF2ORmohXSGjJ9AUlfkLLs1Z05EaHV9NA/ X5zhdqr2UsHVI4lkHa/dx9ojDj3BevuFW90weRna5y4uIl1HXYqGkg4U/hb4DAJgKq8T iSKduDJCUm9Y9LEK3GyKzK0zWchESVbslrWsgV3xwRcYhumakqlJDzX1Ljg004p3xdc6 e3v6GzMHExxe1HmUphdgKecDdh+RyLEByzdr6J+TpjIbQ9rPAuyRVBlllScsYmgiTffV ai4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=rD5aV4Nx; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si5348683jaj.71.2021.06.17.03.53.01; Thu, 17 Jun 2021 03:53:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=rD5aV4Nx; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230393AbhFQKxB (ORCPT + 99 others); Thu, 17 Jun 2021 06:53:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbhFQKxB (ORCPT ); Thu, 17 Jun 2021 06:53:01 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A361BC061574 for ; Thu, 17 Jun 2021 03:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=j/udkT5IeBSNjwumPYiud7qBUHcZ1EN6G37If3NBOIU=; b=rD5aV4Nx6K1bJFb0KVNg4L4385 W6kQfKg1HfsbTWCSynd0rOuEOvB9H/Ht/mtOf18a6ethz/5Ch50n64wgWRSA7TFP/IyZQJG2WpABp 2PfJuW/diQoMYI79sQMphrZoIRlXs2IEMvtTqkPCpSW2c0bnnBAjGyMeW2/qCOFlTY2g=; Received: from p54ae9ff2.dip0.t-ipconnect.de ([84.174.159.242] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1ltpbj-0001KH-Sg; Thu, 17 Jun 2021 12:50:47 +0200 Subject: Re: [PATCH v2 1/4] mac80211: call ieee80211_tx_h_rate_ctrl() when dequeue To: Ryder Lee , Johannes Berg Cc: Lorenzo Bianconi , Shayne Chen , Evelyn Tsai , Bo Jiao , Sujuan Chen , linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org References: <2176023d8f13d82d093452e1c105609396c30622.1622164961.git.ryder.lee@mediatek.com> From: Felix Fietkau Message-ID: Date: Thu, 17 Jun 2021 12:50:47 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <2176023d8f13d82d093452e1c105609396c30622.1622164961.git.ryder.lee@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-05-28 08:05, Ryder Lee wrote: > Make ieee80211_tx_h_rate_ctrl() get called on dequeue to improve > performance since it reduces the turnaround time for rate control. > > Signed-off-by: Ryder Lee > --- > change since v2 - roll ieee80211_tx_h_rate_ctrl checks into one condition There were some OpenWrt crash reported which appear to be related to this patch. I was able to reproduce a deadlock with ath9k, and I'm currently looking into it. - Felix