Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2761421lqz; Wed, 3 Apr 2024 07:59:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1S//cILTqBdhOMsmFi1skkokjXk/bKsgGEBYgX9cgJy6KyxZF0nfl2ZqNC2BpkjUOye/Lfdcgf8oiWy9cfCDQO1aRPv0yT7L8vlEWig== X-Google-Smtp-Source: AGHT+IGKtPJaxRJ3qAwWcKOUCBADhQ1O3VstiHm9VHARbDY42BRS1puOLt+tFCX1dWgmbcO3vda+ X-Received: by 2002:a67:be09:0:b0:478:980a:ac5a with SMTP id x9-20020a67be09000000b00478980aac5amr2349197vsq.33.1712156343142; Wed, 03 Apr 2024 07:59:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712156343; cv=pass; d=google.com; s=arc-20160816; b=bgYfOxkIqxI7ouAcQlOZ1jal4p+6PNopoHzzmJtbJSeB6UAG12Lx+ErWw1KPTWznL4 lopH6mc+2UnNcj2hbZohz8A+MH+yCoilcStxycI6aA2jbXOHSvsr+MVeZ79EYWwkR8+s tBzPQjCVjZKtXooUFbx8ifTf4HRevp2IKL9Ecdz2WdvttctpXnUtqeuVu/NKIHzvgN7L 82BtEAgtNkb/wbbW29rNbo7UEERAoJ/yC3C6gp+pdhCHX6FU0DuBYzS8/TbbqLk/7pTl x9GXrxwa8XFMbPei4uv201sYxr0NQJ8euaqn4bnZEfocEilZFlNvsEsTEnLKEBrERMHE T7lg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=+V9PKvGGG0Zp9wmRhNc3wp0Po8jdYPFrqI+LPg3eETQ=; fh=ohIT4OdT5vMpX3xQdjlQPuVJBU5s4v4Jlg8EcLApv08=; b=V27dW4bpl0p1J4o6UMRcJzPZluX6hZkNP6o4HPXoDa1QeFRWogZNS87c2et9+lbXyB EAQk7kwo+XfpfegJssOumSotdF9lFRRFkQTRIZDEoYD7dE9jgT2SB9tTVo39WqV80iKy kFs+I59cjtR2CREN2EHrc22yeZSwZnhuOsSb2FT5LtiHvdwAugoc3NEjcsaqvkGnrbTY TpqODmAJhwk/1mzdXz88+O60uykRxg5Af6gQwNN9natk6RHWmk/Ll914+/7fvZcur8TX 7oQ4hNPG8MyIPYPrCajfNb0THHGz7DsH7lYCtKIwr6c2d7xhUDsJb/TbyzlAhLi53LRV LZ7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=j4gKhmc9; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-130013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j1-20020a0cfd41000000b00690bba8c5casi14322634qvs.116.2024.04.03.07.59.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:59:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=j4gKhmc9; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-130013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D72341C226BD for ; Wed, 3 Apr 2024 14:59:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5FE4149DE9; Wed, 3 Apr 2024 14:58:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="j4gKhmc9" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 19A21149DE5; Wed, 3 Apr 2024 14:58:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712156327; cv=none; b=gaYxdXwV/Gy2jgIDH5ixLtQL6f9uLRl4uU39dvM7G36WFGoYHsa+XpekHlAcwTICrQ3n1g63JEmElJR6O1uX/iuo9HoywA2PGEeNROrU63+zIAKPHGPCQJEmEUu9swLPZlxwVH+ViJQx1lJQ0FPA8cu+xYh5RJ5kkXi37ATtB8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712156327; c=relaxed/simple; bh=GQ7pDnvmg+PvtqACCV2lrfhSSMsK6+Y0rU6DNq6vKu8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JkJHSvWnLXltjRc6FMWDpOOWgXnl5ROQan+v+7sAZwMRJe9yg+kz0WKRWO85lBwKm3V4FJ9SIzTen0WVrDDqi5RIueG7WLeeZIUwydEwoCMrs0jXysjc4TjDq2Ft1/+nLIAjT7Xt7q7v1ovNQmQbycV0uHggo6RIDcy8VsNfOVw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=j4gKhmc9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ADE7C433C7; Wed, 3 Apr 2024 14:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712156327; bh=GQ7pDnvmg+PvtqACCV2lrfhSSMsK6+Y0rU6DNq6vKu8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j4gKhmc9DltNw940mtp073tuxdiE4epv20nU2ixS9o+M+jcILElJ/XSRdVq3QfW6x k3qlLQhLNAa3ebzEc9ZOaz+RL7RaSReonLkM58/ltHq74B1ODcX1pEMdBwo/4ZZ3Ii nYWylkJT61kuGizapQvAlOlDU+luXzPsjRIMN2vk= Date: Wed, 3 Apr 2024 16:57:39 +0200 From: Greg KH To: Allen Pais Cc: linux-kernel@vger.kernel.org, tj@kernel.org, keescook@chromium.org, duncan.sands@free.fr, stern@rowland.harvard.edu, mathias.nyman@intel.com, oneukum@suse.com, linux-usb@vger.kernel.org Subject: Re: [PATCH v2] USB: Convert from tasklet to BH workqueue Message-ID: <2024040314-unbuckled-botanist-1afc@gregkh> References: <20240403143852.13175-1-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: <20240403143852.13175-1-apais@linux.microsoft.com> On Wed, Apr 03, 2024 at 02:38:52PM +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/usb/* from tasklet to BH workqueue. > > Based on the work done by Tejun Heo > Branch: https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-6.10 > > Changes in v2: > - Update code comments and commit message. > Suggested by Greg K h > - Retain local variable name(hcd.c). > Suggested by Alan Stern > > Link to v1:https://lore.kernel.org/all/20240327160314.9982-1 > -apais@linux.microsoft.com/T/#m2ec7868fbf102f1551ebe4c92d200848b94af3b1 Why the line-wrap? And v2 info should all go below the --- line, right? v3 perhaps? thanks, greg k-h