Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp289173ioo; Thu, 26 May 2022 03:51:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgg/J/8Wfnk/FDiyOoOFOxeH21+hXCEmFvo7zBjDFZq9FOV27auAmWFgb35U/M4fYD4s6g X-Received: by 2002:a05:6402:40c4:b0:42b:5745:ca2 with SMTP id z4-20020a05640240c400b0042b57450ca2mr24201869edb.387.1653562264961; Thu, 26 May 2022 03:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653562264; cv=none; d=google.com; s=arc-20160816; b=q8Haw76PqAzdb/DBUQDM3lLopU46ZdMzyOCfea9AryYzgCvguzS1NPLDIjpjAXQYca nLhCXMTLJYByswagc37i1spboEyJmL5j+JJiOgMPuO/8lv/Fpj3Q993ESEqACPpffalV nPqqRY/Ate2w0EyyinyKcplDm8mvsLWE/nNDkQR/1v+hLB/hWwcCYwRp2eky091gZhic XAKaLS8qPhNeqpJqL9vs0YZhALpbgOeVIep1JRJrjGcnUtsx5X1k25+/Kayqx/7vHxvP Hhkm9xdIQO3idYpmpRgtmp16Ck4ALsL5u7tYGJu+8Hgh+Ng4mqyuG4l8fPfoG8w+M0if i9Tw== 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=8v8NJ0a8V56vtqLR+SMp9QvjOrvgB+9HAIgTvz0fNJo=; b=p9iFXxJCEK1jPrUhIHnLcKwUnS7deFIWl9wz78vgNol+/BjDQkmRYg4xowU7HAKd+/ UI/u5IUXeznLe7eIp5c5548Hb0f77Uu7tGd6VTD2O4zwZL0EfEZ8D1IjeLytA3C4Qzoj FYqBaKkhN3ZQUCClhAbM4cDFBGiMSwWS8o1uzlYPJY0J4rTFAMLFanbaTJsYo8F490TS /0RV3DiodY/GTb70UP6qTa9HRZccGQLR8gznxVOdqdRVt3zCt5+6RcEisrowFWMbkLle ynQXRNuTQqc+VOWxV1F0qQOQE3QqaBpwDVzIYZov6jUeHWIzTl+qJEGNSEzHWrSY/ekL 23Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dYJhLfBD; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j24-20020aa7c418000000b0042abbcd3c60si1085574edq.362.2022.05.26.03.50.38; Thu, 26 May 2022 03:51:04 -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=@linaro.org header.s=google header.b=dYJhLfBD; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230289AbiEYJZH (ORCPT + 99 others); Wed, 25 May 2022 05:25:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235092AbiEYJZC (ORCPT ); Wed, 25 May 2022 05:25:02 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B08D98A326 for ; Wed, 25 May 2022 02:24:59 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id x2so34907667ybi.8 for ; Wed, 25 May 2022 02:24:59 -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=8v8NJ0a8V56vtqLR+SMp9QvjOrvgB+9HAIgTvz0fNJo=; b=dYJhLfBDjkkwdtL7D9ZCvH/HwdunUkHDymiQT/6fOkGfUlgVU79wfDNeKi1FmvO01+ sYziFA2LOGAfhRqoHeA2iY+WYLDKijMRBXtk7C9/myzGSV/1yBTPtk6tY5yr6aZknMvq iLgkfAtv9jdC0BFti5DSakNtV6dFv7VSLlkUS50I4bWqisejUClMiEswT8RJnSp4VZ+c 2e9Ew7kGjVu2lxGwPu5u5kCugna04xaGgXoBapEPsQM2HR7+zNeTZgGbmlfgei/SwXVk N9y954AfWXnR9J/RQcoJWVcEZsWkqX5qXN+67MuuLLVyBMM5P2KSSCGz8fI/ZDbWqiAr CxTg== 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=8v8NJ0a8V56vtqLR+SMp9QvjOrvgB+9HAIgTvz0fNJo=; b=iL8O6Gliu9KuywNUGG9fwSZZV0PYMW/tE3G73rnRdNIPRer47u+1GTu8ZjUBctHB/T 1lG4O7EtCfg/DEIdEUaheVzNi9LzPRoM2LatjRBt4Zc0qpaKCc6E3NL2xUxO3vbISCEp WI+Ola26j1O1cIYeGx5bb2m/6vQY4rLuRS64BDtGhY8UxOJTU3OktWtGW5Yrx7wgRekZ SnXGUU1TQV8vzVes/Dw+XBo8DXdGrYyDqZ74fKM/nuM/eYCpIk99Y017YofwYcSSzFVS SEAqBVa5IMVxP51P9NejrHS0J2i0YIGdpW4i81UYAP5mGQ6DvT9HQXjwEvef6F/YNjmg GAoQ== X-Gm-Message-State: AOAM533iJJ13TyBTF4EfMD1kHunBBNvZJ2gi5nflWb09A8o3YV93dhm7 iGUb8ZZEUJx+qIAnhvkG0sfb7nBf5y3b6O6iIEuRuA== X-Received: by 2002:a25:420e:0:b0:655:8817:e6ba with SMTP id p14-20020a25420e000000b006558817e6bamr3360166yba.369.1653470698888; Wed, 25 May 2022 02:24:58 -0700 (PDT) MIME-Version: 1.0 References: <20220419211658.11403-1-apais@linux.microsoft.com> <20220419211658.11403-2-apais@linux.microsoft.com> In-Reply-To: <20220419211658.11403-2-apais@linux.microsoft.com> From: Linus Walleij Date: Wed, 25 May 2022 11:24:46 +0200 Message-ID: Subject: Re: [RFC 1/1] drivers/dma/*: replace tasklets with workqueue To: Allen Pais , Vincent Guittot , Arnd Bergmann Cc: olivier.dautricourt@orolia.com, sr@denx.de, vkoul@kernel.org, keescook@chromium.org, 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, 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Tue, Apr 19, 2022 at 11:17 PM Allen Pais wrote: > The tasklet is an old API which will be deprecated, workqueue API > cab be used instead of them. > > This patch replaces the tasklet usage in drivers/dma/* with a > simple work. > > Github: https://github.com/KSPP/linux/issues/94 > > Signed-off-by: Allen Pais Paging Vincent Guittot and Arnd Bergmann on the following question on this patch set: - Will replacing tasklets with workque like this negatively impact the performance on DMA engine bottom halves? For reference: https://lore.kernel.org/dmaengine/YoI4J8taHehMpjFj@matsya/ Yours, Linus Walleij