Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4708812ioa; Wed, 27 Apr 2022 09:24:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuKo+ou1ogXnuV6NwIwwpzfeMZSi+G0HuV/ddzYiJQFLgkXiWlW3FTC9bSkHqT+ed2E5t8 X-Received: by 2002:a63:8943:0:b0:3aa:f1ce:4f24 with SMTP id v64-20020a638943000000b003aaf1ce4f24mr19595611pgd.34.1651076646252; Wed, 27 Apr 2022 09:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651076646; cv=none; d=google.com; s=arc-20160816; b=kSvHImVSi/pzKy+xZWgUwJlEDcgDAlyUgeoE8/3D6NWJ7TIbolZa+l7FtMCXLz6ohD PATP+nDq+FSmRy0QiChbozacbOZ96JKGgcgUjJ/sMUidWIkpojK9HiBkpQVGUxIPOT04 qniVZXAc30Aq3p25IJw3ZVciUYxSgw+1apPwsMZqUB8anliCajuuL6kyJLB9WQFRxo+/ RTL88H1EF+ifC+glgGN7vOLbrWlqYGxAXRc0KxoZf2vBLlrpeJlM6OzmzG9gQMX1PQut FZrosdxAAgxj+rmQmwh14oVLLHdlPcB5NgtA1HDyJjEO8BJDCgKUNpOg4obklQMKb6sK H/bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:dkim-filter; bh=TX9/CTz2WBo5vbbwED+TNm+pe6iYOqpcRxy113F+nEs=; b=pO1YgwY3MVVpHqNWzMcoHe9IHyakPvVo2VNR2tI0vwFDOC5QzKPvKRTAqMx6kG1e6n z2cqPb2vh1eml8UMWq/aWqoPen/d7BDNYYoj6sbMvspFTnQtYnlv4DGPWvgrvrk8n2dz sbgu6vyo1D/NYb0r16208GOdaPgMFC5UnWIp9jjS4anUTBVdd8Vu3KvJtFGr75fZwwzl lg/ZfOp3TH88zMggw5wZVPSMVp3uRO6ofAmkW4j9j6DAGUjwAmZgUDKsKovWLREQwVTZ Lg7aw7rPF+AXtaKOF+49UvpW331ss32bxBxJV+H44/lneEnxjS23NqImG0YS4VWVmgu+ BbLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=ZKOzz9l2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w13-20020a65694d000000b003a1d18a5386si1897987pgq.17.2022.04.27.09.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 09:24:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=ZKOzz9l2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1284672463; Wed, 27 Apr 2022 08:54:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240384AbiD0P4u (ORCPT + 99 others); Wed, 27 Apr 2022 11:56:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240434AbiD0P4p (ORCPT ); Wed, 27 Apr 2022 11:56:45 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 99A4064713; Wed, 27 Apr 2022 08:53:28 -0700 (PDT) Received: from smtpclient.apple (d66-183-91-182.bchsia.telus.net [66.183.91.182]) by linux.microsoft.com (Postfix) with ESMTPSA id 7149C20E97B3; Wed, 27 Apr 2022 08:53:27 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7149C20E97B3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1651074808; bh=TX9/CTz2WBo5vbbwED+TNm+pe6iYOqpcRxy113F+nEs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ZKOzz9l2xv5aNTdWwZ4q+vZhDBP5yr52RLVoFAv88x9lQU9pCcPiUElU3QDN+lQOa RMu2HIPSGrrjv0rWaJOFGE1+w/vNAfqNI2CXXJDVQNTX1+Z7TW5jgaM7eRWJBVD2AW iucNZ1g853BVeBOYcJtm7owZqSHtapaLpQKQiArg= Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: [RFC 1/1] drivers/dma/*: replace tasklets with workqueue From: Allen Pais In-Reply-To: Date: Wed, 27 Apr 2022 08:53:26 -0700 Cc: olivier.dautricourt@orolia.com, sr@denx.de, Kees Cook , linux-hardening@vger.kernel.org, ludovic.desroches@microchip.com, tudor.ambarus@microchip.com, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, nsaenz@kernel.org, paul@crapouillou.net, Eugeniy.Paltsev@synopsys.com, gustavo.pimentel@synopsys.com, vireshk@kernel.org, andriy.shevchenko@linux.intel.com, leoyang.li@nxp.com, zw@zh-kernel.org, wangzhou1@hisilicon.com, shawnguo@kernel.org, s.hauer@pengutronix.de, sean.wang@mediatek.com, matthias.bgg@gmail.com, afaerber@suse.de, mani@kernel.org, logang@deltatee.com, sanju.mehta@amd.com, daniel@zonque.org, haojian.zhuang@gmail.com, robert.jarzmik@free.fr, agross@kernel.org, bjorn.andersson@linaro.org, krzysztof.kozlowski@linaro.org, green.wan@sifive.com, orsonzhai@gmail.com, baolin.wang7@gmail.com, zhang.lyra@gmail.com, patrice.chotard@foss.st.com, linus.walleij@linaro.org, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <2B3258A9-47BA-4AA3-A4E8-BE255D5F4506@linux.microsoft.com> References: <20220419211658.11403-1-apais@linux.microsoft.com> <20220419211658.11403-2-apais@linux.microsoft.com> To: Vinod Koul X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,USER_IN_DEF_DKIM_WL autolearn=no 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: X-Mailing-List: linux-kernel@vger.kernel.org >> The tasklet is an old API which will be deprecated, workqueue API >> cab be used instead of them. >=20 > What is the reason for tasklet removal, I am not sure old is a reason = to > remove an API... While we moved to modernised version of tasklet API, there was A request to entirely remove tasklets. The following patch is an attempt Towards it.=20 >=20 >>=20 >> This patch replaces the tasklet usage in drivers/dma/* with a >> simple work. >=20 > Dmaengines need very high throughput, one of the reasons in dmaengine > API design to use tasklet was higher priority given to them. Will the > workqueue allow that...? It is interesting that you brought up this point. I haven=E2=80=99t = had the opportunity To test the changes by stressing the kernel, what tests/benchmarks would You prefer to see run on with these changes. Thanks. >=20 > --=20 > ~Vinod