Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2916541iob; Mon, 16 May 2022 08:57:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/nary5O36n0xYg9Tgraqeay3M8SlIZ4I83Bqhupxvh25D1OhMimdfaeAfgbkzmevxVX9e X-Received: by 2002:a05:6402:1706:b0:42a:a40a:17c6 with SMTP id y6-20020a056402170600b0042aa40a17c6mr10375683edu.38.1652716676895; Mon, 16 May 2022 08:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652716676; cv=none; d=google.com; s=arc-20160816; b=Q9Fb5+ON+JHw0gm22ZDKVnCvUyDm2M6IE4jAy3nNT88IQEqFMGr09zGEKVAt4dKOsB HoAYUZDh0pcKlqwKlPmwCATSSS5nAyZKIxkKhSPK5uyfMHifC4o0GOv6srBnlKk4xuOQ 8kcbA7eHhw5g7Py5VcCBImx1gJG7o1IskhK8KiGBInQHJ1e1GDjLFVn3EaBoiOuvEWZS TmHu7OktlRoIpyOmXGbiy4pK22yDgyglPxkLxm+tUyQPqbFEI4Sbtioymb768SnGUqQD lmC+uGFtRJ0KqXE6hS/Bhtp/AbpOTPiao8MnAxP+NDvC2HpQgLwB9OPRv/dTNXyW2h6W AQCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6DiqWXoD0547MrkbYJz6UhjggMhJMDEwl34gQ0sErOs=; b=kWupx7g8E6YVlJB6yBLMKYKoV0DsorcRU+xUllynxqeemRv0FSfEkz0NkbNdDO6FZK iPvo1vMJF+EkC7X57CGDlTQQHcsFVT3M9nzSee2sLHvApFSuivfCKoBQG4xEhVPKJ/Pm Tcrh0PJnPD21Wfaw603kYWY0tL9vrxHrfXjoOs7DbtH41QmlVo97+j1hccL2GDrNmTAv B++i57FBLGokJj1rLj6oK3C7+A6PP0ReutcHiR6ZGrhW8NIfFX3Dk1TjhybRtrR1AVpo 588WXEYtN3eTEX1EFCS7GEo0Ahbggl8PrDbfOedMO57n5E590sZ3XKAThH8N8HdyOA9g 3CuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mfyad4iB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a1709064e4d00b006df76385e67si62085ejw.775.2022.05.16.08.57.30; Mon, 16 May 2022 08:57:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mfyad4iB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243269AbiEPLkc (ORCPT + 99 others); Mon, 16 May 2022 07:40:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236194AbiEPLka (ORCPT ); Mon, 16 May 2022 07:40:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BB23DF55; Mon, 16 May 2022 04:40:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 06F43B80B55; Mon, 16 May 2022 11:40:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE1A2C385AA; Mon, 16 May 2022 11:40:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652701227; bh=L5E5J6zzQA1xwUAGYCTKpj4tRtQkKMREW7HnJ9e3CWE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Mfyad4iBN0LffO3Y5W8vZRV64qx1ZV1gUE1laCe8MTfHN8aw6yGD40pgYvagw8JHp RkUxOXMrkJ8ICuW66vpBXQ4uS7FNCe8q7UUmhQL3KibuZajpAQe2IsOFfeah4lTarl Bny6DtzYmcBzwB4VcNiofzmCxQtt93mvY3qLgwsnYKpGGjdOO3SJs6PcgcKVgpI+Hs vPEJM5J3WeoWFGSDCf8ZkuZ9N/wXclWb+7daC6UC6wNCjsxgeqc1j3P7A5g0NYtMVb FHdyB2TIiOxhJajbX49C5xCOxXAfqie/WW1eVp/kpvNf8O5z0bZ5KBztTmK48PVdB5 8alU8QOJC0J/w== Date: Mon, 16 May 2022 17:10:23 +0530 From: Vinod Koul To: Linus Walleij Cc: Allen Pais , Andy Shevchenko , "Gustavo A. R. Silva" , Krzysztof Kozlowski , 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, 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, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 1/1] drivers/dma/*: replace tasklets with workqueue Message-ID: References: <20220419211658.11403-1-apais@linux.microsoft.com> <20220419211658.11403-2-apais@linux.microsoft.com> <353023ba-d506-5d45-be68-df2025074ed6@kernel.org> <3ee366a7-e61f-e513-aa2f-12e8d5316f3c@embeddedor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 12-05-22, 23:54, Linus Walleij wrote: > On Fri, May 6, 2022 at 7:43 PM Allen Pais wrote: > > > - Concerns regarding throughput, would workqueues be as efficient as tasklets (Vinod) > > You need to ask the scheduler people about this. > > The workqueues goes deep into the scheduler and I can't make > out how they are prioritized, but they are certainly not treated > like any other task. +1 -- ~Vinod