Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1530155pxb; Tue, 17 Aug 2021 14:15:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyh6M3vYCQTJhILjG6VldTU8hNUyqPNIZVhxh0Ew+9/c3lnKsGty20OUXwowDknipHW6HOD X-Received: by 2002:a02:cca8:: with SMTP id t8mr4769631jap.51.1629234932065; Tue, 17 Aug 2021 14:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629234932; cv=none; d=google.com; s=arc-20160816; b=xVfmWictJUx8k7LPS+wUYycjP9N38zIF6OV1gg3NAgj4apogkUIeTuy29uIvYXmc7t TXS9XCoCaiVseLs6Uw0iOGYEWq8Le5w1nTkxecAXF2i6AcCnBJ+WarqxfEY85SkyriE3 E1ZnowIevr6FIXxueBJrENyVlHvGQDjb2MqlPpqqAI77+afZaaUpRiquswS5gxSUajaw ELBGnO7MwlYnLaNNzsJwdQcCEFq5sAFO7pGC2Q7ghAT5irsGHYcjUvJ+LnH5+1j5YgYq ux8ULTXBmJ4yo50WMF2kaGRXwNMfM3PejJN50gE/CQAjX7OGQNz8GOi+A9xeGIvW2zWS nrFA== 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:subject :user-agent:references:in-reply-to:message-id:date:cc:to:from :dkim-signature; bh=owZMYGru73ewOEwyj3kZpdG85swNx+si4visR9IJsw8=; b=OU3mGqwO+QY3GM8tprNIegw8iRpaBhThey5isl3/0wgpFHt9eeF6CQIFWmO9wqrAKn smT0XDwls2VGrh78UJHR/gN1xMQPk5oTiKwje8vuH59b8C5m0L1GxrSz+JLQ8b2JeN0+ cc2LT03A5VoaGkZPn2CVkqP1mFMKkfisQCLeEDCPp0LUjwBhUpS4iBwvGfQVVEYXxG/T aMyozHBUFrl7LrzWieY8JrbKa8+4HuuzGQZNcIzigjn4bCWaXXuYN8M+muzojV6lNf3z gTYyYFmHjZ+t79oiANrpEH7TvV3/fZ9S8bKibfdc0FvScwXRJuJk7v/nO6CP6M9mTZYx d66A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RYuNIMAt; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si3792335ilv.82.2021.08.17.14.15.13; Tue, 17 Aug 2021 14:15:32 -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=pass header.i=@gmail.com header.s=20161025 header.b=RYuNIMAt; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232909AbhHQVPY (ORCPT + 99 others); Tue, 17 Aug 2021 17:15:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbhHQVPX (ORCPT ); Tue, 17 Aug 2021 17:15:23 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0693BC061764 for ; Tue, 17 Aug 2021 14:14:49 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id hv22-20020a17090ae416b0290178c579e424so902133pjb.3 for ; Tue, 17 Aug 2021 14:14:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:user-agent :subject:mime-version:content-transfer-encoding; bh=owZMYGru73ewOEwyj3kZpdG85swNx+si4visR9IJsw8=; b=RYuNIMAtVr+w1JFOjbdG4Wd4gGgjUH+3YxIojGlb7YZuFd88IpM6Nvc/GXRs8BUOx0 1jOu7Ikw+3vePLQQ/DHtXJjmYI8TMuhlMKgpXRvsHwi8aofQvg7BUoeytn3lhp2XRmiT Rx7VzxWymVq+1TczO/aTa8Q1Q4FA3z9oKdHONhkEHJfun2L+yAuBgVfqRyxE5I7Vs1+x M0+/01U3HThsChyIv3CPHn+Df5TnGlEj1fWlXLy5NiDZnvAu1TP0PBpPslYGWDV7YlhN 7LrQpOARQpGhKbbXOoIFSbPGVRud3ttZHFHlOJsLn3wDz+L8FL+tPJksbSvTH9+GVsqg tB6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:user-agent:subject:mime-version :content-transfer-encoding; bh=owZMYGru73ewOEwyj3kZpdG85swNx+si4visR9IJsw8=; b=nil2Ux6i+rmqErhi4oPCoMF+N65BEIV28L2I8o7qyszDP4ecLDzpIsIeOINhIcIOKV te/mPU3NYdVKUC5m5qDav9J78y9EjCQixBNSX+ZxgkFaq/BLjTHpXVOS9SJcUjtEeR5m j7xvABb5gnceB7bKlwOwM+JXI4+v2wc+xSjzHsdsubcB+8OJzieyKUERvv3B0XW69BZ8 9l6Ao4yBO//jnjzFT46vFjVMt9D3kxG8pULfZVPhfEXLS5NIH+ISux+pvYT8M6mDNpmg SIUj5RIqq7X7FU6Q1dwJ2q1BrRfuMU9A2RMkyMAL9KN506HYgrTcjhUPuIzc0HOT5UKg 8YoQ== X-Gm-Message-State: AOAM533zAMTIJSIQOEDFNlV1b774+AjEEPeC52oT2C3KaXGCy9hV2TJQ joz8ye8uWOB4iNSokJkB4IY= X-Received: by 2002:a05:6a00:230e:b029:3c4:24ff:969d with SMTP id h14-20020a056a00230eb02903c424ff969dmr5589637pfh.44.1629234888562; Tue, 17 Aug 2021 14:14:48 -0700 (PDT) Received: from [10.230.42.144] ([192.19.152.250]) by smtp.gmail.com with ESMTPSA id z2sm4631328pgz.43.2021.08.17.14.14.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Aug 2021 14:14:47 -0700 (PDT) From: Arend van Spriel To: Tejun Heo , Sean Anderson CC: , Kalle Valo , "Chi-hsien Lin" , Franky Lin , , Hante Meuleman , Wright Feng , Arend Van Spriel , Date: Tue, 17 Aug 2021 23:14:38 +0200 Message-ID: <17b55f75630.279b.9696ff82abe5fb6502268bdc3b0467d4@gmail.com> In-Reply-To: References: <20210802170904.3116223-1-sean.anderson@seco.com> <17b551dc6e0.279b.9696ff82abe5fb6502268bdc3b0467d4@gmail.com> User-Agent: AquaMail/1.30.1-1828 (build: 103001000) Subject: Re: [PATCH] brcmfmac: Set SDIO workqueue as WQ_HIGHPRI MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On August 17, 2021 8:28:23 PM Tejun Heo wrote: > Hello, > > On Tue, Aug 17, 2021 at 02:21:55PM -0400, Sean Anderson wrote: >>> While I understand the obvious gain it seems like a wrong move to me. What >>> if all workqueues in the kernel would start using this flag? I bet the gain >>> above would be negated and all are equal in the eyes of .. the kernel >> >> Is there an official policy on what counts as high-priority? Using some >> very-scientific methodology [1], it seems like most high-priority >> workqueues are in drivers/net and fs. Making these queues high-priority >> seems to be commonplace. For example, in fe101716c7c9 ("rtw88: replace >> tx tasklet with work queue"), Po-Hao Huang remarks: > > I think this is actually a good candidate for HIGHPRI. As you noted, stuff > which interacts with hardware in latency sensitive manner with impact on > observable performance is one of the common use cases. The alternatives > would be doing it from hard/softirqs which are higher priorities anyway. Hi, Tejun Thanks for the explanation. Regards, Arend