Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp673846lqh; Thu, 28 Mar 2024 12:41:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9FDacqDrH8/9MGEDWrwHbiCwTr0c8qWSU6o0FEiuTXqqyS81mMBgRtXCo/3gUiNfUpByEfN37tosBwQEpksf9YDbM3/fOPuvM9DGsrg== X-Google-Smtp-Source: AGHT+IExraeVo3QTLp72qLg9GEMeMPKzTLJF4BybqftOR71h5NVFk7vK0rmMKsUHYQy3r6qFuyhB X-Received: by 2002:a17:902:ef48:b0:1e0:e2b1:7395 with SMTP id e8-20020a170902ef4800b001e0e2b17395mr582517plx.14.1711654918963; Thu, 28 Mar 2024 12:41:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711654918; cv=pass; d=google.com; s=arc-20160816; b=WQURGrQws2l9ubfCvDLfFepfjIqt5xLo+fopqxZCRl1Ys1CI70WmK/5pbElY+t1ttZ rzRb02tMbhqCJjCXozkeW46DG5ndATQn6Nij3iwHb7WboSku3WuESPaWsdDx816DDCre 0Xk/YzT3MTOYNplWlfqWK7LWJbfk7X6kXLxzpnswvpnhM7jJm8b/MxxZhirAfcKtc/S4 K8G5viwNoXLjE4IqSdOvPqSEi3uVNyUE4uFORfSaoJX3x8Ku4PxObWVwNlxDy3jgs/Ei V/S07b4b2rYRT7tDlH9J5fO2NSPIBp77mb4+hFT2NiVapkfCCM9tPKUptPVSxoFoBlHB X6MQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=WIYRUJlYf8k4Ww5l6bxXyNzs1Z7gSD0K+4rAhlyLzPk=; fh=9Ug1V5J3Zc0nyfwWxRzRQ7bwbcmZrSWFsgiLZCBzyhA=; b=LCFu2b33nfW2zSBTtWN8QFpyt1BjDu0pUbbN8j8YfTauhpD4z8VswbDUDMNAP7KeKL /8y/pvM+GFQdPfzzPfcu8V9wJXKRIWzXNjZarx5tKo5zrayfiGlLd0vn1W8mxD+xasnq mLM0RR6iOLoZkkD723adE+O/QRsPKdflaJMNjKLVK+kwpaw9/W7vhqFF83Hp/0OgYF2d T8iTKHBBzPsrf8B+aHtRGqV3LNLFroqIvbvj1IiwvPt+/2PMv6KlqzcIL+7gdRdKRAqT dRxV7fqHkH32EYZutZUYKN2IfC8CQe0i5LLu65Xis8WzcJTtXqayI0hI+8DeZ5MNqQJO sfRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cNbH+dr2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-123493-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j10-20020a170902da8a00b001e0b3ae7eb8si2105373plx.146.2024.03.28.12.41.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 12:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123493-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=@gmail.com header.s=20230601 header.b=cNbH+dr2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-123493-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 96253294F80 for ; Thu, 28 Mar 2024 19:41:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BE5A13248F; Thu, 28 Mar 2024 19:41:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cNbH+dr2" Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172]) (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 D7FF480617; Thu, 28 Mar 2024 19:41:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711654896; cv=none; b=suRQMJOk4UNnpitTNy9j7/WlfY3TuubpGcCGMoRQigRv1qBx2WmX7THHmTirW7upeSJKgjFNdwPCekblm+ib1j3OEerRFQA3jf0w9Yxcrle8GKL7o6P/ypDV1ZUVIFGCNIXu31RP1Je8rN6VA8CrTG4hW4SF/dDgLwbDDeT42K4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711654896; c=relaxed/simple; bh=t4KQY4ygYmx+OB/j4jytyezWMylsTqngvr/2VLyyCA8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=nAWBwEfynDA2Hy4LVHSlIGU+4fcn4fkT+L+P0cKA0sl2rvVLL3EfM76RvCJ7guKQ+8hi/drhcdiwlfMNiCbjY4QDXj4IwVpDBCQ2BlySofu6nx5fHOQdSOqFfFzkaDoppxWF9o/HATp87vIEqJ+JHGSYpUKiWftz3xNyMdcs5mY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cNbH+dr2; arc=none smtp.client-ip=209.85.221.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-f172.google.com with SMTP id 71dfb90a1353d-4d42c30a968so434276e0c.1; Thu, 28 Mar 2024 12:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711654894; x=1712259694; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WIYRUJlYf8k4Ww5l6bxXyNzs1Z7gSD0K+4rAhlyLzPk=; b=cNbH+dr2gW6ot8DEwnUB2fXvabAjj+01jQbhI9+1y1IG1lUzwG2ot/cuOK0cmlmfgO Homs/+UuR8M5g/1coScTfMeVKB8Gjz7xilM0dEp9WeVZASqeWVLGzsuJtIVfEnXvuu+7 Kxk28CszjAKKqsaDPqFWeilUZAXGdcrabRT1WS+SBG6F+4UMuG6gDiNQD3z2Xm7Dsi2O U7YoNIeYvX2/wqaxsnaxHnqEj7iG2Agvepxabd9P+3MobYXVzGdDjUgYPggEj6UNnmp7 e4pThct+uHwZAyUo3Lsm15yoTLf9uj9AxzsQC+cl6BdUsybDtY6oRPp4K0P11wWU+j7o Xnww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711654894; x=1712259694; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WIYRUJlYf8k4Ww5l6bxXyNzs1Z7gSD0K+4rAhlyLzPk=; b=rDbKGXktGip+5XnYIPjuNpImj92eFnI9qAAO8VWA2taZNDGNPNTUAEAeEvsy294k/m kSov6fN1zcpwViiyFJF8WvAgFWZKDSxP7u2Z3/5R//Mr3c4sYlFYESlZ7GY84SgEylZ7 Mnr+T3y/mJ1/FwferyDO8RfGCFVtSogIvs3d41T3jnnH5ceMp/0GLbXVGdTKpyT3nENs ooAatDMkhw9GM06pu8OGjyvJ4rO7Rk3nb7JtznrzAzYro8DsOggqDoDGsf0wbinzFEFn C+0AcNkIc9K38LE+YikhboBWds3oAm7YD6gjPU3tNnS7WjvgYoeuAEeQ7F7h9iI4l7aK yOqQ== X-Forwarded-Encrypted: i=1; AJvYcCUIptqr43SOuMFZVW49EOi8Ov8c2VH8PlyCITsZPgtDfcOrgBJNke+3szNVaMr4gihWiA+4zX/9nuwWJyFy0a2o4kHweSPk/tq+bOoh0meQbFIi2jKudUTcSzAHbqgin0W2+7PMkgTDuvochfNmkY+u44cCsVolMw5sHhxjfOQzry58XXc3rgIQp0EdJq+IMLDAG9ju7NZ99aYtxA2MIfeCIg+g/WOy0Chvhg0a1T1Lb9ikSEMbcsjIu2jrKPsmuW0GtQHmEjKHowIETmA8nC0TUMWck3D4wa85vqdl7zJ1SMd/FHJUd5phAZPpHKwc6DhpfSjxD+8pnI6eThDzaDAlcpZG3D80ff4u//DLuhKY7+/0XquR8D554lw5ODdSTwWY7iN/limevjoqURNxDujNXcUDfBUlYRp15gcMYV9yGjrDInpsjqs/srYVmdqaZRlL6JyT5YEeqf9Jh9GfexLq7gQjS/FfGBJRlpeTGIiTGoiaBnPralKoxCKYlLBqpvId9wwnRDNPe3+zvp3iemH+4YdNDXYziJYb+MbCm/4qPZrkgNY/7p6Ecrt6hHKf4Myeqx1DK4ySwfVpaMVDm1Q= X-Gm-Message-State: AOJu0Yyxgaxdxfl3R6arGWv0Ebar3bNFtbMdEx1QVYEoTH22esdVTUh/ xECQs5mNpgIV6kA/mSA8FuJmVt+czZ8bCyhE8D89ME9XFKVVpcLxMxT0zmtCtM0aj3OzDTnB24U HILcG2WaFxFnZeuC86FskH21pq9w= X-Received: by 2002:a1f:ebc2:0:b0:4d3:43f8:8541 with SMTP id j185-20020a1febc2000000b004d343f88541mr348710vkh.1.1711654893631; Thu, 28 Mar 2024 12:41:33 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240327160314.9982-1-apais@linux.microsoft.com> <20240327160314.9982-7-apais@linux.microsoft.com> In-Reply-To: From: Allen Date: Thu, 28 Mar 2024 12:41:22 -0700 Message-ID: Subject: Re: [PATCH 6/9] ipmi: Convert from tasklet to BH workqueue To: minyard@acm.org 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 Content-Type: text/plain; charset="UTF-8" > > > 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. - Allen