Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp82934lqh; Mon, 6 May 2024 11:59:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3ddvRJ+VgHjgStaPReoGZtMwMQdQ0spF8Q6w3fgzv2DWlGdiJfvHWnnvRzLhY1TBuizrepeI6LR97HdSQPtKW3JmuSDubkjTqWgnH4Q== X-Google-Smtp-Source: AGHT+IGJ4BHDcTLP8dpIfOJdFVZCDzX0sXqpSjMETSnpRjAHn0ALEe51ds3exZIvt4RKuIRYJauK X-Received: by 2002:a17:90a:dc14:b0:2aa:b377:d29e with SMTP id 98e67ed59e1d1-2b5bbbdfdc2mr789325a91.3.1715021993823; Mon, 06 May 2024 11:59:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715021993; cv=pass; d=google.com; s=arc-20160816; b=FFPIX9flLK1i4H+O76t39Fd16kGXaAA++mVDxtocJcgexcoPqDZ7+rmV+hO2yXLOC+ G4o72Pw8tPdfslWkfN7jX5I2RoZEKCcHT+sI9z60vAfP11z8IkiZV/FPf76vtXbYtnUD //04bzzzEuFAJV5HTJCMgiHAVsFKOzUcs6OiWSYdrtuY3vrVi1EzAW8p3UcefhPPQBjd ySE+xoJfcdKE3+w0Jk1SRNVljYwip+8KviR66vcu/xECCXuuTeHLLaAXwnu/B2cy6KIY 24FoeRcdrtNzvM8f9er1OnvjBrvCawGMDFAOTrqnA9HxUF9enkBWEb8G+7jxAGAjgEDJ cQNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=va3L4TJj1iXYkkOu5TlFmzEV1vC+OMi5V1dzN170Z+c=; fh=0ZKV22Mpi0Z+/zRlCC9GRUAKl0wLMxmYgR1nXO1NAEs=; b=l7v2Ob9WXjlF7/lhcT1w3bmbX8pifLJGSV9auXsELCeiLA7joq20qLGYlcWpSeMNzg fK/vVylNOK3GdX72RFIBzFW7O7BYUs5BhDbzBg+30Me006fXHNRR1DfpL29srm9wvLnE HYRBbXh/y6dwBFsRq905F28tY+Bh3NQnzrY5OaM8wF5V2/Px1gGbjshmz9speyA8yTgK PuVrLiiuCZTLIreuWZDpZiQC7aObdWpi63ZRty2Qk8wdTeTPs/I2ay/bedyqM3uggtO0 OTJCfZzMOcq7/Epq8yd6Kx7sgWWj0Kvss4YaQevOlIgsawJwx5ERrz5aVMzhQQixS/VI udRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=WjQkzsIR; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-7231-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7231-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a3-20020a17090a740300b002a50f66351bsi7652447pjg.91.2024.05.06.11.59.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 11:59:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7231-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=WjQkzsIR; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-7231-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7231-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 46ADC281A50 for ; Mon, 6 May 2024 18:59:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62F72158D9D; Mon, 6 May 2024 18:59:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="WjQkzsIR" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FCFE158DB0 for ; Mon, 6 May 2024 18:59:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715021947; cv=none; b=iFH/9FnevaiDkdqPBTiogKuBGH4JoH+d4zwPT3ZJgbMnNd/Y8j4KGlmKKSAWJYDdcaYE9kCb7Fr3KlhDloS3Qdrx7j1Ut2fiUv/xNKMPZhAADJ/7k4inCKL7LxREofQE1LsRr5moexXHqEn+bd9YwUoTGhMVnmJeS4Z+YS2Z3ow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715021947; c=relaxed/simple; bh=bQ9N0lpXsmM7ISmrJPkxG9vcgDdQpjjMHeFj4ojxzZI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Gyw8bCwn3IwbnWciaZbdSh05M+HaVLIAVOZb+jPGQysvmWHz4rHQYwXvkmj0RdL/W6kJD2dpyhTaRLxPyrfzMEvZJHHOnqxgIBYE4NTa6Sp2R4fmfKn1sL3AY0uoy9OtHaHoZJeyM+9xCGcfxKs5CWQYm6tBie8Mo2Bk8CXBULw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=WjQkzsIR; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net 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=va3L4TJj1iXYkkOu5TlFmzEV1vC+OMi5V1dzN170Z+c=; t=1715021944; x=1716231544; b=WjQkzsIRouhuyEC8K9LgrqSL9CzGBF21JERPXJKp4pylTNuqzl/vZNz8PFCLWS7r0BMqf2VAAhj gD57f3O7eesiy0X2DT2cbBIhpyuJDUN9dAym71u7N2B95v9XJX+kw1vxaC5sGIfd8/hS6DBY0FgZ+ K7Wxh9z2orxWytf3gRh4lCRdI98wfWcA/zjKMqKyISn2DKv1Kf0pAUN3cPYbQqIYXauavWMgclLXM IEXUmmvO+WIrHPRfVPBcS6i5jzzpBEVs9t6TY8SinsyQXR8UsT9jodjDMYZ0rJRwb1hkMdjxYbbdD bEzGCBYLbjQimPT9cv/wPk6kchdeMGr5vrig==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1s43YC-0000000894b-04tR; Mon, 06 May 2024 20:59:00 +0200 From: Johannes Berg To: linux-wireless@vger.kernel.org Cc: Johannes Berg , Miriam Rachel Korenblit Subject: [PATCH] wifi: cfg80211: fully move wiphy work to unbound workqueue Date: Mon, 6 May 2024 20:58:58 +0200 Message-ID: <20240506205858.821feba1c419.I3e2a71ef445d167b84000ccf934ea245aef8d395@changeid> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Johannes Berg Previously I had moved the wiphy work to the unbound system workqueue, but missed that when it restarts, it was still using the normal system workqueue. Fix that. Fixes: 91d20ab9d9ca ("wifi: cfg80211: use system_unbound_wq for wiphy work") Reviewed-by: Miriam Rachel Korenblit Signed-off-by: Johannes Berg --- net/wireless/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wireless/core.c b/net/wireless/core.c index 3fb1b637352a..4b1f45e3070e 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -431,7 +431,7 @@ static void cfg80211_wiphy_work(struct work_struct *work) if (wk) { list_del_init(&wk->entry); if (!list_empty(&rdev->wiphy_work_list)) - schedule_work(work); + queue_work(system_unbound_wq, work); spin_unlock_irq(&rdev->wiphy_work_lock); wk->func(&rdev->wiphy, wk); -- 2.44.0