[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221028142313.7msfbgy4aurrqndx@parnassus.localdomain>
Date: Fri, 28 Oct 2022 10:23:13 -0400
From: Daniel Jordan <daniel.m.jordan@...cle.com>
To: Nicolai Stange <nstange@...e.de>
Cc: Steffen Klassert <steffen.klassert@...unet.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Martin Doucha <mdoucha@...e.cz>, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] padata: introduce internal padata_get/put_pd()
helpers
On Wed, Oct 19, 2022 at 10:37:04AM +0200, Nicolai Stange wrote:
> The next commit in this series will add yet another code site decrementing
> a struct parallel_data's refcount and invoking dealloction as appropriate.
>
> With that, it's due to provide proper helper functions for managing
> parallel_datas' refcounts and to convert the existing open-coded
> refcount manipulation sites.
>
> Implement padata_put_pd() as well as a padata_put_pd_many() for batched
> releases as needed in padata_serial_worker(). For symmetry reasons, also
> provide a padata_put_get(), even though its implementation is fairly
> trivial.
>
> Convert the exisiting open-coded parallel_data ->refcnt manipulation code
> sites to these new helpers.
>
> Signed-off-by: Nicolai Stange <nstange@...e.de>
Thanks.
Acked-by: Daniel Jordan <daniel.m.jordan@...cle.com>
Powered by blists - more mailing lists