Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp284648lqg; Thu, 11 Apr 2024 02:52:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVs28TEhqFz5Ok/rVref9bm+wAsP6r5kGTyHuZ1DFjIP613WLXLFQcE7bIYWXSU/9hsISTF578YDljGe9tD4pCSWx8ClJhCVBbxg+Y5/Q== X-Google-Smtp-Source: AGHT+IGiRoZ7UCIA7/SDQ5Rd6dPpOYoEGKEyQVEB3cNCPEMT6HqMBXphtWcgFBxh0VXFhB4k74MV X-Received: by 2002:a05:6214:2528:b0:699:3981:2d8d with SMTP id gg8-20020a056214252800b0069939812d8dmr5448041qvb.32.1712829176320; Thu, 11 Apr 2024 02:52:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712829176; cv=pass; d=google.com; s=arc-20160816; b=MhMlLeyZY/PSW4UMHa46AAcyQ5x2FQSVw5A6nePGR7bugIjcXm/rVYF+Lr+RjvDdZI gRnQkBiAiDDp/kIWZFrbjQJY9nuIGTTaq30vwCo58xEt8R0FoTBenTC9Ii1yinhJHhcC i+EFeACzHkN1kr3kXin649mGB0TbKQZWSYBdTeBi6polpLt1Y2KDjZavZPUkx8iI36kU JF+aZzypZW3nUXukLLwjV0W5sucgRZQiP70KegrdYqzTRJugXhSn0Exa1boqqhpkIU0o AJTkBGKvwCYYRGXYcYQvzFiqdqVTJfe6fE1BDs4rCXAc8JM5+BkrPNrzTos6SeOyKROl qS2A== 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=GXj1cy2+nzyXumy2QmKT4FrSZ1HY3JyLzGlreQ6VEJQ=; fh=tYfgOInG1Iy07gr5NRDqbsc6CqRVYQI2OGKRmK6Kr00=; b=OYXTxgoDY2EjCC1KIn4q+N8ukfioErxhFy/XIy787yixHqofZTXyWINZxC8OJ67a/Q dIOYVMM+qKHC/ANBN8YqFXNvSkpzwvIomFEh131tgtiWejdsbhPVoshw5vpHfxKiJaz9 6hhkWzWGk9Kubaql9dnaL+ne3Tc5QQdUs314rebXZ0wYQTvKCmK6q0Lja3QDWkEElNIa DaeaXZoMfFYAoGip1SCDKSg7vjI+QGwDtjjQIGFNGxsMZKa51QT6oI0i2H3UxSq74AfL rP3LkHI+jGmEbfFx4m+c762WzYnXsBLLCq0m1zLYbectgVsQRAciUpWNZG4pl05s9JKc zofQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=E15cJJmQ; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-140206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140206-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 o18-20020a056214181200b00699406ebd6dsi1138317qvw.142.2024.04.11.02.52.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 02:52:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140206-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=E15cJJmQ; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-140206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140206-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 0CB8B1C21AAA for ; Thu, 11 Apr 2024 09:52:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EE84145B13; Thu, 11 Apr 2024 09:52:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="E15cJJmQ" 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 9E6AC13DDDD; Thu, 11 Apr 2024 09:52:45 +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=1712829165; cv=none; b=rUQ0kqJaYkH5vJqHreVw6ty4PXGnlXCnuCYo9mbbusSOUb0b+4RK11pImmHEVr8f1Xj/luA49fUzXoEWlPE1AJeZ7oRdUSwePwVswWZx7+Prow0YEHAfOnwIQnEuePywByjS1+JNpKncEMKmOVx2X3CyWz1jyxbgYIbm12TVzX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712829165; c=relaxed/simple; bh=6LPoBgM4dGej3G/EWTMFuCJO16wnG8LmgDKZpio/Qhc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ncPUzk4TXiNpglkYSWaCHgXND1hw5rBUwCk84fncucsXsEOw+eaTkmOrukXb/VOpCwrBJ2BJvJe3OHcpP8gB/dIYuX9WFVPXXQnR626ZJsGrS0iJPGTKPPWG+K8/pbAcRgu3nWmylP4YMtnjDpqa49EDNi9LfOtVmxDRk0QeJ/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E15cJJmQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9730FC433C7; Thu, 11 Apr 2024 09:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712829165; bh=6LPoBgM4dGej3G/EWTMFuCJO16wnG8LmgDKZpio/Qhc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E15cJJmQXcTEWhPntWZaEqhzjfV6BmzTLhrLy5VszuykEJiRpYvX63Gw8sx+KCiFF 0dcPdr8um1FyZ4lFMRUsmBHeDQG2mH1RtxIYU0Ubg1uoKbQ3qeLYS5KfqxwvWBC8d7 9CfWanz66AH9E38nL2POUCwZEQ8YVmKKqb+HIqmM= Date: Thu, 11 Apr 2024 11:52:42 +0200 From: Greg KH To: Li Lingfeng Cc: stable@vger.kernel.org, mpatocka@redhat.com, torvalds@linux-foundation.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, dm-devel@lists.linux.dev, msnitzer@redhat.com, ignat@cloudflare.com, damien.lemoal@wdc.com, bob.liu@oracle.com, houtao1@huawei.com, nhuck@google.com, peterz@infradead.org, mingo@elte.hu, yukuai3@huawei.com, yangerkun@huawei.com, yi.zhang@huawei.com, lilingfeng@huaweicloud.com Subject: Re: [PATCH 6.6] Revert "dm-crypt, dm-verity: disable tasklets" Message-ID: <2024041103-reputable-bobsled-585f@gregkh> References: <20240411091539.361470-1-lilingfeng3@huawei.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: <20240411091539.361470-1-lilingfeng3@huawei.com> On Thu, Apr 11, 2024 at 05:15:39PM +0800, Li Lingfeng wrote: > This reverts commit 5735a2671ffb70ea29ca83969fe01316ee2ed6fc which is > commit 0a9bab391e336489169b95cb0d4553d921302189 upstream. > > Tasklet is thought to cause memory corruption [1], so it was disabled in > dm-crypt and dm-verity. However, memory corruption may not happen since > cc->io_queue is created without WQ_UNBOUND [2]. > Revert commit 5735a2671ffb ("dm-crypt, dm-verity: disable tasklets") to > bring tasklet back. > > [1] https://lore.kernel.org/all/d390d7ee-f142-44d3-822a-87949e14608b@suse.de/T/ > [2] https://lore.kernel.org/all/4d331659-badd-749d-fba1-271543631a8a@huawei.com/ > > Signed-off-by: Li Lingfeng > --- > drivers/md/dm-crypt.c | 38 +++++++++++++++++++++++++++++++++-- > drivers/md/dm-verity-target.c | 26 ++++++++++++++++++++++-- > drivers/md/dm-verity.h | 1 + > 3 files changed, 61 insertions(+), 4 deletions(-) What is the commit id of this in Linus's tree? And why only 6.6.y? thanks, greg k-h