Message ID | 20230510201205.308542-1-johannes@sipsolutions.net |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3892462vqo; Wed, 10 May 2023 13:14:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5cJq3SydNwfT0+4fnF2PucWns3Q0bGSq+tIY8JQEdM8oSPwQwpW/BXa2xdQlNFEopztsid X-Received: by 2002:a17:90a:fd8e:b0:250:2922:1f3c with SMTP id cx14-20020a17090afd8e00b0025029221f3cmr19833331pjb.33.1683749640550; Wed, 10 May 2023 13:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683749640; cv=none; d=google.com; s=arc-20160816; b=s4RrD2Dt7lbsleFr2pXO2VGWcXFFJvbH46TpW09G/2vIGTI6QDzIBm6w90Ymr0rUkk gwob5DJwm1k4jh/af+dQ8kFgiDa6hshS/c22WPyR5GJqHf1eUhj4DudFxih1wyyQvHis Dpts8AmGyFu5APltlTrNQrR+FcGr+mOX79YKnr5LtOtlcjcZvdWRntlaJqIY8slcK2Bw Ho7ermkxoCBH6OjkxZfN0UP1vWed6dLPerIFl8uuwXmoSKgCWevtxpFdYlfaF2k/9NIu 3XXaHD8Cm+t5aVwPXrERSiUYn95QbA80/5189b/5oL8bJuSGfJmCYvvxicMDXX0ZFg59 +sIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yt/SgfNHFPPKEqm/TapniQmvPSvHMYvIL3rCl5jRo8o=; b=TPtCa7LFTB1rETiWJ3E+XvnxiI1wNirQqVN73cFKXXLgTPKQ685thhQE9CWuYesvun Si2nS6NyoLo+W0aJbhs8GACcKpk37v7YYQ2Jyh2Qm5jwYoQWBDsVyPfaOos/llkyQsYh CdyACMfQbsYjsLkpI/FxrEAhkl9LeKwVPiAI7dmr5GWGPGj4NGeDG8CWvZPtXXi+Q+du 9PS8F3wZJ1cM/wVUzMowKePNLl74mYmkJxTwmA3hHZioGQNcxixsepSunU+6P2IDgOON rvka4DaPsCbHMOpYrfoI6gb0etyAa6VVXfRMVyt+FWq7Rjd17Jbguxf9t6VlPQJ97fEt 5DrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=QyhS8Amu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pc11-20020a17090b3b8b00b002507cbb009bsi9578449pjb.112.2023.05.10.13.13.48; Wed, 10 May 2023 13:14:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=pass header.i=@sipsolutions.net header.s=mail header.b=QyhS8Amu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236215AbjEJUMP (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Wed, 10 May 2023 16:12:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236161AbjEJUMM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 10 May 2023 16:12:12 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DF3AE57; Wed, 10 May 2023 13:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Content-Type:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc: Resent-Message-ID:In-Reply-To:References; bh=yt/SgfNHFPPKEqm/TapniQmvPSvHMYvIL3rCl5jRo8o=; t=1683749530; x=1684959130; b=QyhS8AmudU31KYoDjcf8Cx+FwyDo54EYwwzu3/8I+Wq2ZN/DVsQ+S0/A6wSWNU+QqkYeLda2skO NNXeyjwzhH6Soh3gr8jmbfPmd3i7dkJR+qg/zoIA4oHkplUv8Ru5s719HShCBPpJo0EmRtVN489v4 Ia1bvvi6cVbWGS+qgBAcALUIQm0f+Nholj9MWl9Mu7uWr+Odo8MQX6xN8oZ2jB6Xh47SSrgssDITL /Rj+OEcBjCqt5DPlCF64lp4adWBZkLnwqh++11HsJxwJ3wK0b+drqWt99bogf01dzMc+S+ju2yDtM 4abvGNzQ/LOKa6IYWLTyyY4cFhr9/Fv4ASZQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <johannes@sipsolutions.net>) id 1pwqAS-005aH5-1n; Wed, 10 May 2023 22:12:08 +0200 From: Johannes Berg <johannes@sipsolutions.net> To: linux-kernel@vger.kernel.org Cc: linux-wireless@vger.kernel.org, Tejun Heo <tj@kernel.org>, Lai Jiangshan <jiangshanlai@gmail.com> Subject: [RFC PATCH v2 0/3] wifi locking simplification Date: Wed, 10 May 2023 22:12:02 +0200 Message-Id: <20230510201205.308542-1-johannes@sipsolutions.net> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765539462874032812?= X-GMAIL-MSGID: =?utf-8?q?1765539462874032812?= |
Series | wifi locking simplification | |
Message
Johannes Berg
May 10, 2023, 8:12 p.m. UTC
The rationale etc. didn't change in v2, so see https://lore.kernel.org/r/20230510160428.175409-1-johannes@sipsolutions.net In v2 I dropped the workqueue locking patch and consequently made new wiphy_work and wiphy_delayed_work things. I kept the pause/resume for the workqueue because not that I had it, it seemed simpler than keeping track of "should it be paused" in a separate bool variable to not queue the work when it shouldn't be ... Still just serves to illustrate things, I didn't really test it. johannes