Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp958577iob; Fri, 13 May 2022 17:43:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw06Mb9Pq347zRGxu7nC2AJ/Cs/lHi1g15P9/IBcn4xldkXyHhuuEaqAxLOOmsatPKw+Gz3 X-Received: by 2002:a05:600c:19cf:b0:394:96c4:8959 with SMTP id u15-20020a05600c19cf00b0039496c48959mr17689257wmq.9.1652489026773; Fri, 13 May 2022 17:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652489026; cv=none; d=google.com; s=arc-20160816; b=iayjkmAgjbOjKp8auPhALSMBeXcx7W82ryzYvShrtzXPzcXPvtWacF0u7IwdPI4XK0 csbjPc8SgD01is8pButF1rxVeVBdWgpv/zBTC7cxznCcwzlpIIemj/lBS6Zuu0l64fP/ 9naQqNlKGUMe4/b9j26MFGcPCNhB+71mxzfvTdKPU9b/QI+0I1Wg4EASjlj3ZpWhcxwi 7+caB/Qqx48cs3IM1EIeMnyfveDznQ9GTu/tIjabOdyCc7lSSkb/KkB1HSc1ZBueLeJy 2poRcsk3YlzuuC0biivhvDbFcNrHuUExLCaDIuTjpoS8HcIBdCEmDxRI2RXO0JOiWUR0 8dtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=K1VU58MHQqP+/7H+d1w/E+L2ZvFeIXOvlm41/oypmL0=; b=ohBLD6XbuzZdZewaK+m+JNaC0ho5yMmDphCt4E4uBjxoAOf/uvjbR4A53VqdWMhwXV kJBDtoFIJ0YN76LovxFOvI9upIGQfc+SQTzsCUdIcVxdaaN571TIm3ZbjoCc4YhgnYUO 3aPlWxciuZDo0nhlcE83cfoTAttZrATZQhDGr82rhs6QvpfWIdZf0qNgBMd/yudr91Nm z2UksNaoVAsYxPMHVzFJEuaF3ZUzhG9fQ7KOn98h4deWQYrKa+NQw/WtAcxQEP6HB9Yf aAyvP3xmVGXu5+givF9k4WK0FvnEBZIsFBSTmZP3meqGUMCHguqrcx39CGDeboofD9AS QCZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sOYt/Gx0"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b10-20020a05600010ca00b0020ae2d2f610si3038741wrx.215.2022.05.13.17.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 17:43:46 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sOYt/Gx0"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B8661315F32; Fri, 13 May 2022 16:23:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359000AbiELVy5 (ORCPT + 99 others); Thu, 12 May 2022 17:54:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359002AbiELVyh (ORCPT ); Thu, 12 May 2022 17:54:37 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB1775838E for ; Thu, 12 May 2022 14:54:36 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-2f7b815ac06so72254877b3.3 for ; Thu, 12 May 2022 14:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K1VU58MHQqP+/7H+d1w/E+L2ZvFeIXOvlm41/oypmL0=; b=sOYt/Gx0hkqvhlgblLEO/HYJxZTdK226ravqNQqKOZQ4UJ5y4ThWbN3ehEwwngDlYf 11tzgbu0WDOYcy1r8mukQ0ovGT+JvnNid4hvM/mwJSBL9p6kxhhMPl1VxGiE1H/Brvx6 sapouRkIaz3YQWLwT6VqH4XBSxiLo/uPAiRrSo/Sc0ntI2pRCWlzprmHwvostLXD2a1k qhLlOWMG5cY3OqsqNkLjwCh4XSsVHyjdQAiYDfTxJxahxf6nPPoJvTrjufeZHC9GpGfR af8bi9WIHNWL/KF5rHUcdbfZUiKC9vjY0PXp3N2S78bHVYiW6GXw6Cvfpo82kcxnTVm/ Ec4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K1VU58MHQqP+/7H+d1w/E+L2ZvFeIXOvlm41/oypmL0=; b=AJkHPATN3oIO3id4X7690ww0KF8O3GAyIbxVJ+p91gjh9ovrNXmRN0EemvaCSoy2+J XaAaD1AFFiT8d84u07RXv1/jhuz64gO98KybyZM7qTtpdy4W9tczK5+fL+jyeS/91bwI c3kt9cXtQfA8BHpZo0gXu90svx0MxDRPBUQd3BZdApaKpK67J80UH2ZT9dnswXvvVhdC m/ERyqRc1KD8aQ+Ya1f1i6T19R7spujhLm5pqHrAf9RDPg/h6wO9Mqw+Pkk5BNrEZh6c f/+pl15epPjzpicupfsSarx4sjd1lKY3+ZqG/6JYWtSWxMRm1b3lcU0YocuKBBhWGPIX +cjQ== X-Gm-Message-State: AOAM533sRrqBv0gw++xds9dDMM/vPZlWixCx7Pw/20ZAsTOmuOwlb3bF usFRPTy3EdTXMMib7CdmSyH0A133gkH9fNaJ7eLjQQ== X-Received: by 2002:a81:1d48:0:b0:2f1:8ebf:25f3 with SMTP id d69-20020a811d48000000b002f18ebf25f3mr2377894ywd.118.1652392475988; Thu, 12 May 2022 14:54:35 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Linus Walleij Date: Thu, 12 May 2022 23:54:23 +0200 Message-ID: Subject: Re: [RFC 1/1] drivers/dma/*: replace tasklets with workqueue To: Allen Pais Cc: Andy Shevchenko , "Gustavo A. R. Silva" , Krzysztof Kozlowski , olivier.dautricourt@orolia.com, sr@denx.de, Vinod Koul , 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 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,T_SCC_BODY_TEXT_LINE 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 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. Yours, Linus Walleij