mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/6] Miscellaneous cleanups
@ 2022-02-22 10:38 Christophe Leroy
  2022-02-22 10:38 ` [PATCH v1 1/6] module: Have kernel/module/ dedicated to CONFIG_MODULES Christophe Leroy
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Christophe Leroy @ 2022-02-22 10:38 UTC (permalink / raw)
  To: Aaron Tomlin, Luis Chamberlain, linux-modules
  Cc: Christophe Leroy, linux-kernel

This series applies on top of my series "Allocate module text and data separately" v4.

It contains some cleanups to the module core.

First patch brings back signature.c out of kernel/module/ as this file
is not directly linked to modules. Ideally this change should be squashed
in first patch of Aaron's series.

Second patch moves Kconfig's module related stuff in a dedicated Kconfig.

Patches 3-6 do some cleanup around the settling of modules's layout page flags.

Christophe Leroy (6):
  module: Have kernel/module/ dedicated to CONFIG_MODULES
  module: Move module's Kconfig item in kernel/module/
  module: Make module_enable_x() independent of
    CONFIG_ARCH_HAS_STRICT_MODULE_RWX
  module: Move module_enable_x() and frob_text() in strict_rwx.c
  module: Rework layout alignment to avoid BUG_ON()s
  module: Rename debug_align() as strict_align()

 init/Kconfig                                  | 286 +-----------------
 kernel/Makefile                               |   3 +-
 kernel/module/Kconfig                         | 286 ++++++++++++++++++
 kernel/module/Makefile                        |   6 +-
 kernel/module/internal.h                      |  26 +-
 kernel/module/kallsyms.c                      |   4 +-
 kernel/module/main.c                          |  58 +---
 kernel/module/strict_rwx.c                    |  76 ++++-
 .../signature.c => module_signature.c}        |   0
 9 files changed, 377 insertions(+), 368 deletions(-)
 create mode 100644 kernel/module/Kconfig
 rename kernel/{module/signature.c => module_signature.c} (100%)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-02-22 10:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-22 10:38 [PATCH v1 0/6] Miscellaneous cleanups Christophe Leroy
2022-02-22 10:38 ` [PATCH v1 1/6] module: Have kernel/module/ dedicated to CONFIG_MODULES Christophe Leroy
2022-02-22 10:38 ` [PATCH v1 2/6] module: Move module's Kconfig item in kernel/module/ Christophe Leroy
2022-02-22 10:38 ` [PATCH v1 3/6] module: Make module_enable_x() independent of CONFIG_ARCH_HAS_STRICT_MODULE_RWX Christophe Leroy
2022-02-22 10:38 ` [PATCH v1 4/6] module: Move module_enable_x() and frob_text() in strict_rwx.c Christophe Leroy
2022-02-22 10:38 ` [PATCH v1 5/6] module: Rework layout alignment to avoid BUG_ON()s Christophe Leroy
2022-02-22 10:39 ` [PATCH v1 6/6] module: Rename debug_align() as strict_align() Christophe Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®