Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp497729lqt; Mon, 18 Mar 2024 14:15:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXcDXiiTNul9kj1xLGloW+i5dNhnRJluwRkc8klmD+AC+1bF1hbl93FH/IvSSu5ynCAmjAHONnPGnpzx2aJHHFHBzHqALTPrRmaRYvpg== X-Google-Smtp-Source: AGHT+IHqFH7yydYhQeQ/R8+jijSJJOOzVOI/zgC4Hi8qTKSKFXTOKFH7jxGjC84kBZOuSOj/66HK X-Received: by 2002:a17:903:245:b0:1dd:a34e:84aa with SMTP id j5-20020a170903024500b001dda34e84aamr15445327plh.48.1710796505585; Mon, 18 Mar 2024 14:15:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710796505; cv=pass; d=google.com; s=arc-20160816; b=ouOMpl4DN82YlQT+EbKOzv8FfHdRzeSKt7X2VIVQQa9gbDxtLKRovoKtSuihishPIK efI7Ank61p7iHc6efiqUrWphGjRMFNinxdeV52Nmgjb23YIgbdzEDyZaRmfdu2bOImun Fc+iZ8R8BQcDysk6EU8OwA2SGGPRiy9N9EKW2HiJ+DCHQrlfGo7841lWFA4edGgPcrbQ jhM1swZW3bL7/Xt52DRRRUNb6ekamB3ZiZBtCCln1hu4ySEFATDVIWx8IHQQbcgVcO94 bixSIf7aiEmSR2LbabzM2Fc0MiJ52dYeG7DVudrs5DKQNAAFjg2UPBcoZS42L65VR24P r98A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=gR8DsvXJijXpx/XxUAi1pEnzK3CvGvwXonrOfRwPzZI=; fh=PmeS5jA39Rxjl5G3LyqtjmaX7kzB05WBt0XBMt5VuMI=; b=Zm65KbPuCYQkyFtXmcG8XmuXyCVqTDqH8vZV3Qlnrc4vslN29h2GC2VQXYaJP4CGcv SX2gPmu/lB7F2zj7axvqYcV8YY3x49BTFp8ycM0O6apy26UmavpQ/G9KQ+jcWudX5t2f IvN9E3n+WaELd8bal5h6Ywb4wdG5O580eyFQMLbxjdyndU3BJOWp6kv9IvH6xs65v4sn wiWaEbI0Kl9GJdBCh1gSnYEJtCJkMvZjM1wO361bS79HZ92Rv3v3vOrzxRvrZDWaA3MG 16rF3SAUpgvO//O7+GsPBraMeORoXFWR+kMPtzRuS4k5YQI5A2MgJYV6mFttOoARVKHE 6nWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y6mYY4Nm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-106681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lm15-20020a170903298f00b001e00aebedbasi4297368plb.70.2024.03.18.14.15.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 14:15:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y6mYY4Nm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-106681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 46B562825FF for ; Mon, 18 Mar 2024 21:15:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 461BE59B5B; Mon, 18 Mar 2024 21:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y6mYY4Nm" 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 675B659B4E; Mon, 18 Mar 2024 21:14:58 +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=1710796498; cv=none; b=TwhvIcBqD+LMGtqMhAHAwSVX6kz3TIAQJEMBAyFJ1s+Q6fCUEMNzUsHIuw46OniV2vfRs5UL/7orG7VHrSMOUu/zsfwVyOL0GpHL2mosgnCsqiFnLyTkeEmks/cIznX/xNQqA8RhuDHfxOpi8Oc0RIZqhg9Pl/9bN8qlyAViZ/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710796498; c=relaxed/simple; bh=dT47TVgOTPKMkNIrXZZ7cGODl1lIY1Bwb2ulxlmyVo8=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=aaKBofctJ6FLjyGYCIdEjk9nFoLm8QQcA8BWLDkQZ7UpyKT6XpoezWCT2GRQJu8Xx4a/AUM7hjkAmxQZ5+FSzVXwUNZIhKyGcwlYqXMlJFIPGb0VLdik6SiiFcsQ+9xjlPRddAoC77LIFrdltei8vwbKYhN62Jg9JiZYcCX9EJo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y6mYY4Nm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C29A7C433C7; Mon, 18 Mar 2024 21:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710796497; bh=dT47TVgOTPKMkNIrXZZ7cGODl1lIY1Bwb2ulxlmyVo8=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=Y6mYY4NmSOP+mQ243jXwyuYmEjYopUw2L3P56+V/XFiwOLnxajBWvmIP0otOHhjid X3B3Jodt2vqiLZqI8FYyeVWc4lPrw068V45QG+VnDCKP9QGTv5jZMSKA40Hjf11dmT uP5spm11HuTbJYHmRW68yTphqC2ku92yjKQKIUG799YrADEpOBPKjEwSDW+XNPjvhF cFsspuK40R5XrZZB16D90siku0HYQAPykaJVk4effyprDECmv1gc8dy5j3e/9MDuBF LEYNvDPcrGcfRE9dRkfHe7QglMrabvSMHZ8OVNGgZEbs/+/cah5K0W7HtDQXtoFvSw q8PaPAAI6UHTg== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 18 Mar 2024 23:14:55 +0200 Message-Id: Cc: "Eric Biggers" , , Subject: Re: [PATCH v3] keys: update key quotas in key_put() From: "Jarkko Sakkinen" To: "Luis Henriques" , "David Howells" X-Mailer: aerc 0.15.2 References: <20240130101344.28936-1-lhenriques@suse.de> <3007646.1707134664@warthog.procyon.org.uk> <87il33f24c.fsf@suse.de> <87msr2qpd9.fsf@brahms.olymp> In-Reply-To: <87msr2qpd9.fsf@brahms.olymp> On Wed Mar 13, 2024 at 2:37 PM EET, Luis Henriques wrote: > Luis Henriques writes: > > > David Howells writes: > > > >> Luis Henriques wrote: > >> > >>> Delaying key quotas update when key's refcount reaches 0 in key_put()= has > >>> been causing some issues in fscrypt testing, specifically in fstest > >>> generic/581. This commit fixes this test flakiness by dealing with t= he > >>> quotas immediately, and leaving all the other clean-ups to the key ga= rbage > >>> collector. > >> > >> Okay, I'll accept this. > >> > > > > That's awesome, thanks a lot David. And, as Eric requested, I'll send = out > > shortly a follow-up fscrypt-specific patch, which will make generic/581 > > fstest finally pass. > > Ping. Looks like this fell through the cracks...? > > I took a quick look at some git trees ('jarkko' and 'dhowells') but > couldn't see this patch anywhere. > > Cheers, My bad! I'll pick this up now. BR, Jarkko