Thread (24 messages) 24 messages, 4 authors, 2024-05-03

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

From: Philippe Mathieu-Daudé <hidden>
Date: 2024-04-30 12:41:28
Also in: bpf, linux-arch, linux-arm-kernel, linux-mips, linux-mm, linux-modules, linux-riscv, linux-s390, linux-trace-kernel, lkml, loongarch, netdev, sparclinux

On 29/4/24 14:16, Mike Rapoport wrote:
From: "Mike Rapoport (IBM)" <rppt@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@kernel.org>
---
  kernel/module/main.c | 64 +++++++++++++++++++++++++++-----------------
  1 file changed, 39 insertions(+), 25 deletions(-)
Nice code simplification.

Reviewed-by: Philippe Mathieu-Daudé <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help