Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp680513lqh; Thu, 28 Mar 2024 12:57:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3fzTPAGn5U6ZDHRli/wnsDsbxLMzLMAJiRvQEwkwljLABfhLFrZ9gqzdd/g58VRQUAncIzpxUsxoX0ObpM+yfk8q/7p3jp7QdV8PkMQ== X-Google-Smtp-Source: AGHT+IGqz/T3jJygm7h7lpXgpPkevrwrOKAjeIMHEvuiqTxhcwJ15R1FOLyGg7hJ+A08mbwoZWtb X-Received: by 2002:a17:906:33d1:b0:a4e:272e:166a with SMTP id w17-20020a17090633d100b00a4e272e166amr194662eja.16.1711655837895; Thu, 28 Mar 2024 12:57:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711655837; cv=pass; d=google.com; s=arc-20160816; b=SWCrXZTukrvnNCpht1eqe9RgrkVM8FF5rYZuaiFyDtvakEiFJqOOxm1AnoOzNYxIl2 bzeDyo/Pb1h/iXt2CUxbcupr4KLfTJvaSvD6kMXQ4e4cGebQZNeAKL8UPCxt4ap9b1oC zGwuOgT/N4Mpx9gF4iLzoSc3RNdVVKqQJUgTXm7Fi5JFsYnx+guI3MrcXtT3/I22Gro+ avdybNZRA0MsvMyYwA65S/XwZh+Tsu7nHe7VuCpeAW3EQbfExSQlKzyHcemOxCEBVspT trdpJs6u6VEpMWfDxfZngzUTG2n+UIxPV5NCDzAt+oONVn+o97epL38TIZjqoe6GjN5F IRqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:sender:dkim-signature; bh=YT6C4kyGaXJTnO4s5bmEmPWYlNQPKErlDo5CuGDxbV8=; fh=zHxajJIM07kCLKfpWkkPU2hW7uiDj1AmseFisod6mBk=; b=DCxR33Qdx+akXgbjev3ENG68g0p4Q9CZ94qYwUqRjoCbbIumc/YKH/08Bthndm+iaD oBwCip0nLrTJY+xl3605mI00j52dQFsbEASKqJHDln7RnoTRV41c2ImG1c6EqmODaDiS Zc8UKHM9VoVKKtq11ZBlYkn7dJNNfOCYVFT/vqHf97CQZkOxcewld4AVBBkeUX902CR6 ATuR0htDawqn5ow9IpY34TJms+h/6YaebycLkj0+ivrgLldy5nkZ38eGG22gwmVvYJEY VnXIQgreSbMLS1yvu4Ew3hco45Rrvc+GY397lH/Ckdyt3I0sFWE3Klj98hoySdZoWbz9 p83g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="DSZjD/ti"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-123523-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123523-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ox9-20020a170907100900b00a4a393518c3si985508ejb.745.2024.03.28.12.57.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 12:57:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123523-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="DSZjD/ti"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-123523-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123523-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 201671F23A57 for ; Thu, 28 Mar 2024 19:57:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84DAA13F429; Thu, 28 Mar 2024 19:52:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DSZjD/ti" Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2D2F13E6D0; Thu, 28 Mar 2024 19:52:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655549; cv=none; b=G8iCXSuIcdYKcIbYGG308uWA28EJpLf7XXNpfrfZPczb7e7/F8zJq4UHd88AlyZO8OK8BL3R/aHEzcBchYI1sUZx60XC4TDrrsYrDzh+uuVud66n41wMS8vFUzLsXhXFNOAlGB8yHIVDWY8gmoCmyRd1kfaoMScn/Re9OBWEdR0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711655549; c=relaxed/simple; bh=qmQFGHYUei7BOkNgnnntn6VCVy9UtjipJi0ZJ6b8pZo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WJbdZtoySnpArpKIq3Y++q+4noEuikoyvfCKGgU8nniqriLp3WjGlhCSIQN2aO4CrNverX+/B/cC/BW8I6UvBtosmiOx8siUe/3mvobdXBRnWiXZaeixC20ZngOUUvSRuBphg/9H4753nOZ4nW1WhH/TYgI+Dba7Tiwa3tKER0s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=acm.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DSZjD/ti; arc=none smtp.client-ip=209.85.167.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-3c3ceeb2d04so901583b6e.1; Thu, 28 Mar 2024 12:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711655547; x=1712260347; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:reply-to :message-id:subject:cc:to:from:date:sender:from:to:cc:subject:date :message-id:reply-to; bh=YT6C4kyGaXJTnO4s5bmEmPWYlNQPKErlDo5CuGDxbV8=; b=DSZjD/tiqsflzsxPPIOjMyejt0NBAWGlYrE2Wvot3e2jzuoCM7HG1rkaLTYcDhFPbC 6JJVcTkheE8+myU/0c2kKCD+JeGq9uPq2wvOFjjZhhDSNSp0mCwxKDs4pYOeM9dneme+ rQMJ5kN8T1EPBxkfQv5GDoArt3WXZnsrrLTpOXQ2PldTrs9wil7tjOS2ppDuZxDigVNj WMSJJEI4YSQXkA36kT/PwmFc+KbfYrbBUZOdcXvfNgFNC7npGmcxED87Trhu5D8gSnC1 xTcLxX25ONlDU1LnLheM/+AU8swKE3a8XmzqovSYzvtKKhyDzp9rIaLDdRlOra2Of76J OKUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711655547; x=1712260347; h=in-reply-to:content-disposition:mime-version:references:reply-to :message-id:subject:cc:to:from:date:sender:x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0YyvXq7J/e6xvMdgvbJKc/measjiCe7T07f8gLtC4S2Yx+tgo37m sDKyRqpR0Ualfik/5wj3qOb2zUlx8Ve+Mtylw6bHQvfE3OfGqbk= X-Received: by 2002:a05:6808:1790:b0:3c3:d1a8:6d14 with SMTP id bg16-20020a056808179000b003c3d1a86d14mr306232oib.35.1711655546757; Thu, 28 Mar 2024 12:52:26 -0700 (PDT) Received: from serve.minyard.net ([47.184.181.2]) by smtp.gmail.com with ESMTPSA id 22-20020aca2816000000b003c3d6dab111sm345409oix.30.2024.03.28.12.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 12:52:26 -0700 (PDT) Sender: Corey Minyard Received: from mail.minyard.net (unknown [IPv6:2001:470:b8f6:1b:b987:69e:202a:697a]) by serve.minyard.net (Postfix) with ESMTPSA id 4B51A180059; Thu, 28 Mar 2024 19:52:25 +0000 (UTC) Date: Thu, 28 Mar 2024 14:52:24 -0500 From: Corey Minyard To: Allen Cc: Allen Pais , linux-kernel@vger.kernel.org, tj@kernel.org, keescook@chromium.org, vkoul@kernel.org, marcan@marcan.st, sven@svenpeter.dev, florian.fainelli@broadcom.com, rjui@broadcom.com, sbranden@broadcom.com, paul@crapouillou.net, Eugeniy.Paltsev@synopsys.com, manivannan.sadhasivam@linaro.org, vireshk@kernel.org, Frank.Li@nxp.com, leoyang.li@nxp.com, zw@zh-kernel.org, wangzhou1@hisilicon.com, haijie1@huawei.com, shawnguo@kernel.org, s.hauer@pengutronix.de, sean.wang@mediatek.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, afaerber@suse.de, logang@deltatee.com, daniel@zonque.org, haojian.zhuang@gmail.com, robert.jarzmik@free.fr, andersson@kernel.org, konrad.dybcio@linaro.org, orsonzhai@gmail.com, baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com, patrice.chotard@foss.st.com, linus.walleij@linaro.org, wens@csie.org, jernej.skrabec@gmail.com, peter.ujfalusi@gmail.com, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, jassisinghbrar@gmail.com, mchehab@kernel.org, maintainers@bluecherrydvr.com, aubin.constans@microchip.com, ulf.hansson@linaro.org, manuel.lauss@gmail.com, mirq-linux@rere.qmqm.pl, jh80.chung@samsung.com, oakad@yahoo.com, hayashi.kunihiko@socionext.com, mhiramat@kernel.org, brucechang@via.com.tw, HaraldWelte@viatech.com, pierre@ossman.eu, duncan.sands@free.fr, stern@rowland.harvard.edu, oneukum@suse.com, openipmi-developer@lists.sourceforge.net, dmaengine@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-mips@vger.kernel.org, imx@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-mediatek@lists.infradead.org, linux-actions@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-rdma@vger.kernel.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 6/9] ipmi: Convert from tasklet to BH workqueue Message-ID: Reply-To: minyard@acm.org References: <20240327160314.9982-1-apais@linux.microsoft.com> <20240327160314.9982-7-apais@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 28, 2024 at 12:41:22PM -0700, Allen wrote: > > > > I believe that work queues items are execute single-threaded for a work > > > > queue, so this should be good. I need to test this, though. It may be > > > > that an IPMI device can have its own work queue; it may not be important > > > > to run it in bh context. > > > > > > Fair point. Could you please let me know once you have had a chance to test > > > these changes. Meanwhile, I will work on RFC wherein IPMI will have its own > > > workqueue. > > > > > > Thanks for taking time out to review. > > > > After looking and thinking about it a bit, a BH context is still > > probably the best for this. > > > > I have tested this patch under load and various scenarios and it seems > > to work ok. So: > > > > Tested-by: Corey Minyard > > Acked-by: Corey Minyard > > > > Or I can take this into my tree. > > > > -corey > > Thank you very much. I think it should be okay for you to carry it into > your tree. Ok, it's in my for-next tree. I fixed the directory reference, and I changed all the comments where you changed "tasklet" to "work" to instead say "workqueue". -corey > > - Allen >