Skip to content

Miscellaneous cleanups

Christophe Leroy linux-modules lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyIn review
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Rebased on top of Aaron's series "module: core code clean up" v8.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4module: Make module_enable_x() independent of CONFIG_ARCH_HAS_STRICT_MODULE_RWXkernel/module/internal.h kernel/module/main.c+7 -110 replies
2/4module: Move module_enable_x() and frob_text() in strict_rwx.ckernel/module/Makefile kernel/module/internal.h kernel/module/main.c +1 more+50 -530 replies
3/4module: Rework layout alignment to avoid BUG_ON()skernel/module/internal.h kernel/module/main.c kernel/module/strict_rwx.c+24 -90 replies
4/4module: Rename debug_align() as strict_align()kernel/module/internal.h kernel/module/kallsyms.c kernel/module/main.c+11 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] Miscellaneous cleanups

This series applies on top of Aaron's series "module: core code clean up" v8.

It does some cleanup around the settling of modules's layout page flags:
- Make module_enable_x() independent of CONFIG_ARCH_HAS_STRICT_MODULE_RWX
- Reunify everything into strict_rwx.c
- Change big hammer BUG_ON()s into WARN_ON()s
- Change misleading debug_align() to strict_align()

Changes in v4:
- Rebased on top of Aaron's series "module: core code clean up" v8.

Changes in v2/v3:
- Rebased on top of my series "Allocate module text and data separately" v5
- Moved the Kconfig patch out of this series, it is an independent change

Christophe Leroy (4):
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()

 kernel/module/Makefile     |  3 +-
 kernel/module/internal.h   | 26 +++----------
 kernel/module/kallsyms.c   |  4 +-
 kernel/module/main.c       | 58 ++++++-----------------------
 kernel/module/strict_rwx.c | 75 +++++++++++++++++++++++++++++++++-----
 5 files changed, 87 insertions(+), 79 deletions(-)
Signature · 1 line
2.34.1