Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3620389rwb; Tue, 20 Sep 2022 02:11:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6krGi3sQIFOJ4RK6/Q0kcxlMZUJyn8YrOPkAAHKixvL1lAsgyhIvtSDvY4ghwTe9ZjxpzA X-Received: by 2002:aa7:cb48:0:b0:452:ff3c:5c10 with SMTP id w8-20020aa7cb48000000b00452ff3c5c10mr19327725edt.354.1663665111900; Tue, 20 Sep 2022 02:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663665111; cv=none; d=google.com; s=arc-20160816; b=xMzY1KRF/4BC9Z43k08nYkITuY8UqaMWAQXD7W+YIOxgXdX26a59QwPmB3lpnJT0IT +kc4T6ZVyZrFMCg2ItcORpWsoEL2A/jXjz1mAC9YhLqFv8H8mn+vpg//DLIxTio1hMdY sjCGXzSeaB9OCVgmSarWnyhV8bUtJYf6DDuRvNd8tyyfn3BOrjP3wTVqJs0JeaaBW6D/ GJ7s3uh2PQOuVWj1MijvHgNAplP3E5Yo0Z2LZY0KmE6mG/2cfZQqnVsEsQxDAHThTvrK UBGpkOB78n/ieBMB2Fh0LuIJ4zfF1HstmM4XxISWnHtbnPuY8Feeuurnuk6DF+tTcAy7 55TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MAt8DlfItQPPDigxzUxuAKqlyfjbrWk/N7yj7HEs4eE=; b=Mpn4QY+vuLxM5K0p1JidK08qCZwByaianvRsGkMYSEvL80fwakcAKj49hL8hN6lARI IM+IP2AXkW5pAb0Wzza4dxlVQBMQdPjdOe/Ipy04itKNZP4gcVyPu88zjSnWHMjxK7X9 YB7jw/GxTXSkBDA24BdgWJjl+ovvVv/mgS5s3BbU6aM/neGzVgSLKqEa7slhS/ED1bbx 6LWnZnSvNU13NUSjPlDf3EXieFAUELInxzstaQM0nlGnnvTbr8bvPmoJIPtw+Jc7EVEf j+fDhDx2amWlsfs4Kt0g/HJdbH8cWDmnj0iZFFxATP5r2zLdMr1+x0xCBOn+1oCs5zVE bc8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=VlNTe0RI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt21-20020a170907729500b00781a47397b1si756612ejc.502.2022.09.20.02.11.35; Tue, 20 Sep 2022 02:11:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=VlNTe0RI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231348AbiITJKa (ORCPT + 63 others); 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 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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