From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0508ECAAD8 for ; Tue, 20 Sep 2022 09:10:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231348AbiITJKa (ORCPT ); Tue, 20 Sep 2022 05:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231583AbiITJKR (ORCPT ); Tue, 20 Sep 2022 05:10:17 -0400 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1708024BD0 for ; Tue, 20 Sep 2022 02:10:15 -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:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID: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=MAt8DlfItQPPDigxzUxuAKqlyfjbrWk/N7yj7HEs4eE=; b=VlNTe0RI/LuihogRdubY0Mv2/m BN9308GdrbnJy/Xd8AdPuUAYFr48znGZEBHYEB90Osp0YzICAXBPg+ppsCJazBfuAReGHI1jRs93g TqZ6ik2bHMaZUnblK0Mp1+/Gu2Jakqff5auN+YDAsP4jjdhrkkcJtPR01UCx42LkV98g=; Received: from p200300daa7301d00c12bff90dd0eb021.dip0.t-ipconnect.de ([2003:da:a730:1d00:c12b:ff90:dd0e:b021] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1oaZGf-006GSf-M9; Tue, 20 Sep 2022 11:10:13 +0200 Message-ID: <9acc4159-8223-bbca-a83f-d075660ac6db@nbd.name> Date: Tue, 20 Sep 2022 11:10:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v2] wifi: mac80211: Fix performance issue with mutex_lock Content-Language: en-US To: Venkat Ch Cc: johannes@sipsolutions.net, linux-wireless@vger.kernel.org, Venkat Chimata References: <20220915043527.737133-1-venkatch@gmail.com> <238a21a8-c97b-5a38-6c08-9057055bf73f@nbd.name> From: Felix Fietkau In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 20.09.22 11:05, Venkat Ch wrote: > Hi Felix, > Thanks for the comments. What part of  drv_sta_statistics could make it > sleep? I might be missing something. Please explain. It's just a wrapper around the driver .sta_statistics op. The documentation in include/net/mac80211.h states that this callback is allowed to sleep, and it does so in a few drivers. - Felix