[PATCH v7 05/16] module: make module_memory_{alloc,free} more self-contained

Philippe Mathieu-Daudé philmd at linaro.org
Tue Apr 30 05:41:22 PDT 2024


On 29/4/24 14:16, Mike Rapoport wrote:
> From: "Mike Rapoport (IBM)" <rppt at kernel.org>
> 
> Move the logic related to the memory allocation and freeing into
> module_memory_alloc() and module_memory_free().
> 
> Signed-off-by: Mike Rapoport (IBM) <rppt at kernel.org>
> ---
>   kernel/module/main.c | 64 +++++++++++++++++++++++++++-----------------
>   1 file changed, 39 insertions(+), 25 deletions(-)

Nice code simplification.

Reviewed-by: Philippe Mathieu-Daudé <philmd at linaro.org>




More information about the linux-arm-kernel mailing list