Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp73607lqo; Tue, 7 May 2024 12:33:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtRQ28GfhFZNI+/6l0HTZGmzqEdD40KqBCIVMj53NRo848ve+K82VA2wBHvvBZOx5Nsfo07OHm4Iy0R/m9zs82RV5wE1ngsHUJdJQ+cQ== X-Google-Smtp-Source: AGHT+IEIohL7o9FKebSFNNuAxlacsy+3Z38G/W0D1TmU0hQo8051L18Q6+CPNOzbQHytWBrrfXkv X-Received: by 2002:a17:906:18e2:b0:a59:c345:17fb with SMTP id a640c23a62f3a-a59e4cbc7a7mr310668566b.5.1715110383981; Tue, 07 May 2024 12:33:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715110383; cv=pass; d=google.com; s=arc-20160816; b=r3hu3o5ZNNtHW1JeTJOH5y7kw8cpgRgfCHbvBS2AjKg0yXINXwcM8RbWjkl+3dSBYP 5jVTph6KcLm83VS1a3eA09jC4tktVhqv/u8c2Hq8u0siljMjpSwFQsdtnOjW02+O7EGj ZGD3GwNBovLkSi4w/KDDlH44deTLih8NBbwo6zFMWvCcCXt/Uyu0ev2waO3yeN0x04L3 k778pUkpYEc4zg94/B/zn9fkwgxny+f2ps4GvdmYQkKW2k3rUxf+q7oasU+FMxk1RN7j 75DyT1MkZZavhA2bju2Jmn9WJxiMoTwwJMRklfUPjYd0QETro0wA5P/MDP3dF3XYZYfG WCXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=1Rlt99zmcVILKclqpbjv2utXWPqAc4TJPPlL31nMJt8=; fh=brKUJvYK5oqLy5owgl4zVsJLbHZB1GKxw9+JslJScjs=; b=Mirjd5yWxgiaM8JsQHrcXrehPupqlIX84otyGx8ECMJKBBlEf6vcUk1LGGsMn5gY0j zNkNuWib1XtDJNMCMKnnMSEm07OlhWPRBleO1ToD9PJ6VS5QZJTV5qHrEBrK1CCfH6Yi J+ypCJl9YvVqG2T8t9GUoHfbe24Gp5EYn4bZkcf/gYWPFqmechd8f24HFSpThMygXhQQ UbiNT3tBLfcBFzO2ZVwPAjv7VLsw80/NuOzVGq7Rj1L7IlhV5wE1NIvHbTILh5+dq9cJ GQgel/5SxmtfajxZ3uBkPWj38wLI6MLB7HhqxX8gri0Du8UL0pe9v/t5YlQu+3JOY3Z7 7Viw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=DGHZcDwQ; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-172060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bx7-20020a0564020b4700b00572b1961934si5994332edb.474.2024.05.07.12.33.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 12:33:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=DGHZcDwQ; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-172060-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5F42F1F2747B for ; Tue, 7 May 2024 19:23:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEE8E16E865; Tue, 7 May 2024 19:23:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="DGHZcDwQ" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B61A16D9B4; Tue, 7 May 2024 19:23:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715109806; cv=none; b=UbMhINtZeOIPeMBj+dRR6x+Lorv9Uzt5COuqdAXZ1l1I7zODPSNnk94e7EG/xXGef6hHXHaL/iFWLrYS9OkykYYrWZ0CYjf9HvE07KP/Az6+h4aiotLp00SnpvL2UfHLluT/njnIpSmhuJBguF5tprg6/rh5peBvuXpe6+h0ciY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715109806; c=relaxed/simple; bh=N9VAa7hmB0B7LwXNGLbiRpxaywLSphhnsGPBx+mqXyo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XuQBZHyw9LQgUv2Gj7Wlic0RggOXdnPtr+yRpHdxKaf9aAh7Fsv5BzCchjzM9X24hXQQfgEd7gLuP64jcS9/j34iITy9NBH3mnMRXL2UuQ+sLJU28Hcn2gqVJ4Nt5XlupShO9j4JQ/tFpLIuXGrglQTBOzeDzFjwDdcB4BZeZkE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=DGHZcDwQ; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1Rlt99zmcVILKclqpbjv2utXWPqAc4TJPPlL31nMJt8=; b=DGHZcDwQt05/ofsRmHCXxB7F7p 4+19AHlf/kB9ynBunr+XzmEvyFe6jOB5Bi4Rg6t+TMauL7eOeAIVct20JsAWJK4OCulTHdC9kwooI piaA8++amm65GJTBciceqX7s9AIYLi/5LAzyO1mzBOTXaqL3R65vQlUcICSp/KtxsspkpnGaEw/jv BFFDRAv6XEpLYVjeNMGIqqF6+U84USuu86U1FYPS/48Wb2aAdf83MBClnEzbI40mPdQEnJjsMlRxA jA2Mxibyz2aoHWw87X0TBKAU7uJ6LRcRJ4xY4XkjrvGCwdIf2txmwWpBcVfF0tuTv/Uq/WjjhOrdl Mj+cEspQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:36042) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1s4QP6-0004C4-0A; Tue, 07 May 2024 20:23:08 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1s4QOw-0000ZA-Of; Tue, 07 May 2024 20:22:58 +0100 Date: Tue, 7 May 2024 20:22:58 +0100 From: "Russell King (Oracle)" To: Allen Pais Cc: netdev@vger.kernel.org, jes@trained-monkey.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, kda@linux-powerpc.org, cai.huoqing@linux.dev, dougmill@linux.ibm.com, npiggin@gmail.com, christophe.leroy@csgroup.eu, aneesh.kumar@kernel.org, naveen.n.rao@linux.ibm.com, nnac123@linux.ibm.com, tlfalcon@linux.ibm.com, cooldavid@cooldavid.org, marcin.s.wojtas@gmail.com, mlindner@marvell.com, stephen@networkplumber.org, nbd@nbd.name, sean.wang@mediatek.com, Mark-MC.Lee@mediatek.com, lorenzo@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, borisp@nvidia.com, bryan.whitehead@microchip.com, UNGLinuxDriver@microchip.com, louis.peens@corigine.com, richardcochran@gmail.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acenic@sunsite.dk, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-mediatek@lists.infradead.org, oss-drivers@corigine.com, linux-net-drivers@amd.com Subject: Re: [PATCH 1/1] [RFC] ethernet: Convert from tasklet to BH workqueue Message-ID: References: <20240507190111.16710-1-apais@linux.microsoft.com> <20240507190111.16710-2-apais@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240507190111.16710-2-apais@linux.microsoft.com> Sender: Russell King (Oracle) On Tue, May 07, 2024 at 07:01:11PM +0000, Allen Pais wrote: > The only generic interface to execute asynchronously in the BH context is > tasklet; however, it's marked deprecated and has some design flaws. To > replace tasklets, BH workqueue support was recently added. A BH workqueue > behaves similarly to regular workqueues except that the queued work items > are executed in the BH context. > > This patch converts drivers/ethernet/* from tasklet to BH workqueue. I doubt you're going to get many comments on this patch, being so large and spread across all drivers. I'm not going to bother trying to edit this down to something more sensible, I'll just plonk my comment here. For the mvpp2 driver, you're only updating a comment - and looking at it, the comment no longer reflects the code. It doesn't make use of tasklets at all. That makes the comment wrong whether or not it's updated. So I suggest rather than doing a search and replace for "tasklet" to "BH blahblah" (sorry, I don't remember what you replaced it with) just get rid of that bit of the comment. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!