From mboxrd@z Thu Jan 1 00:00:00 1970 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 CB33A3F9FC; Mon, 12 Feb 2024 18:10:17 +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=1707761417; cv=none; b=Bl9Bbf8yxm2bfNrutHZgTc1foIAf8qwpyLHcuVi9xqKAAyv70bpwgslDgH/J94OeB30ldt2zjRf0w9KiLQbOVvprBS+TO93zgaJAueOqbkche4qzVZl50ymhrIG5GfZ3rI6M0bn2aU7zZincriavaiqvrSfR4l1WbsZYpNjPWVc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707761417; c=relaxed/simple; bh=psuq9G62OgxIDSLiGci5UEeAxIL4X5IB+bm5lXCKv8g=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=HWTvhtYDsI+6YZ3nklYj2oXfR5GSZfa/83UBT53t54XO68QImZEdVOKRaDjGEzbZ7JzTNFF8yFdvMEeTf8skAwO1ozZ+BcXg1pLj3lTAFu3CzOfi7rZ5QQwSISFbMw3Pe9n3but+WTzu0sWYxJsLHPjeRZPU+dfcAVatv/6foGM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vFIawtyR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vFIawtyR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A846DC433C7; Mon, 12 Feb 2024 18:10:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707761417; bh=psuq9G62OgxIDSLiGci5UEeAxIL4X5IB+bm5lXCKv8g=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=vFIawtyRi8KSPg3CLx+yYmehX3VE58Gg3FAgXNqYf/1tCs2jWpr/wipPtEG61zIKr z/3J6TAJ3LmKCgRe0uou6EiUo6kk3frvKmV+VOrmpAe5RawpMHSJsgUAMmzUTKZU7w AJXcXkijSZ4s7BMdyR/ORh4ibmsVs88YceDV1qYmoaODRcovZqaS7obKr91gTsQIQ2 mclFKFy8xXYL+ia1TQvugSXcRr6cR9PGGrI8S/+x+q/3YedVY9INyih8j9JcZ4DAmS gl0fDolVaaUmh/3thGiCAJi60xm4JuFMI+6U4YnMWYvdcq3oUMmCVOrG/gAkIP73pj z7DwvsYCqHefg== Precedence: bulk X-Mailing-List: keyrings@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, 12 Feb 2024 20:10:12 +0200 Message-Id: Cc: , , "Andy Shevchenko" , "Peter Zijlstra" , "Dan Williams" , "Ard Biesheuvel" , "Nick Desaulniers" , "Nathan Chancellor" Subject: Re: [PATCH v2] X.509: Introduce scope-based x509_certificate allocation From: "Jarkko Sakkinen" To: "Lukas Wunner" , "David Howells" , "Herbert Xu" , "David S. Miller" , "Jonathan Cameron" X-Mailer: aerc 0.16.0 References: <4143b15418c4ecf87ddeceb36813943c3ede17aa.1707734526.git.lukas@wunner.de> In-Reply-To: <4143b15418c4ecf87ddeceb36813943c3ede17aa.1707734526.git.lukas@wunner.de> On Mon Feb 12, 2024 at 1:24 PM EET, Lukas Wunner wrote: > Jonathan suggests adding cleanup.h support for x509_certificate structs. Please remove as this is just repeating suggested-by tag. > cleanup.h is a newly introduced way to automatically free allocations at > end of scope: https://lwn.net/Articles/934679/ cleanup.h is not a feature, it is a header file. Use link tag for LWN and I guess the feature is called scoped based resource maangement. BR, Jarkko