Re: [PATCH 1/2] padata: Mark remaining code as __init and data as __initdata
From: Daniel Jordan
Date: Fri Jul 17 2026 - 16:35:18 EST
On Fri, Jul 17, 2026 at 10:18:30AM -0700, Eric Biggers wrote:
> Since the serialized job support was removed from padata, the remaining
> code is used only by the multithreaded job support, whose public
> functions are __init.
>
> Therefore, also mark the internal functions as __init and the internal
> data as __initdata.
>
> This makes them be discarded after the kernel boots. It also eliminates
> the need to mark padata_work_init() as __ref.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
Reviewed-by: Daniel Jordan <daniel.m.jordan@xxxxxxxxxx>