[GIT PULL] Modules updates for v6.0-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 1a0e93df1e107dc766fdf86ae88076efd9f376e6:

  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2022-06-30 10:03:22 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/ tags/modules-6.0-rc1

for you to fetch changes up to 554694ba120b87e39cf732ed632e6a0c52fafb7c:

  module: Replace kmap() with kmap_local_page() (2022-07-20 14:27:46 -0700)

----------------------------------------------------------------
Modules updates for 6.0

For the 6.0 merge window the modules code shifts to cleanup and minor fixes
effort. This is becomes much easier to do and review now due to the code
split to its own directory from effort on the last kernel release. I expect
to see more of this with time and as we expand on test coverage in the future.
The cleanups and fixes come from usual suspects such as Christophe Leroy and
Aaron Tomlin but there are also some other contributors.

One particular minor fix worth mentioning is from Helge Deller, where he spotted
a *forever* incorrect natural alignment on both ELF section header tables:

  * .altinstructions
  * __bug_table sections

A lot of back and forth went on in trying to determine the ill effects of this
misalignment being present for years and it has been determined there should
be no real ill effects unless you have a buggy exception handler. Helge actually
hit one of these buggy exception handlers on parisc which is how he ended up
spotting this issue. When implemented correctly these paths with incorrect
misalignment would just mean a performance penalty, but given that we are
dealing with alternatives on modules and with the __bug_table (where info
regardign BUG()/WARN() file/line information associated with it is stored)
this really shouldn't be a big deal.

The only other change with mentioning is the kmap() with kmap_local_page()
and my only concern with that was on what is done after preemption, but the
virtual addresses are restored after preemption. This is only used on module
decompression.

This all has sit on linux-next for a while except the kmap stuff which has
been there for 3 weeks.

----------------------------------------------------------------
Aaron Tomlin (4):
      module: kallsyms: Ensure preemption in add_kallsyms() with PREEMPT_RT
      module: Modify module_flags() to accept show_state argument
      module: Use strscpy() for last_unloaded_module
      module: Show the last unloaded module's taint flag(s)

Adrian Hunter (1):
      modules: Fix corruption of /proc/kallsyms

Christophe Leroy (5):
      module: Fix selfAssignment cppcheck warning
      module: Fix "warning: variable 'exit' set but not used"
      module: Fix ERRORs reported by checkpatch.pl
      module: Increase readability of module_kallsyms_lookup_name()
      module: Move module's Kconfig items in kernel/module/

Fabio M. De Francesco (1):
      module: Replace kmap() with kmap_local_page()

Helge Deller (2):
      modules: Ensure natural alignment for .altinstructions and __bug_table sections
      MAINTAINERS: Update file list for module maintainers

Masahiro Yamada (1):
      doc: module: update file references

Saravana Kannan (1):
      module: Add support for default value for module async_probe

Yang Yingliang (1):
      module: Use vzalloc() instead of vmalloc()/memset(0)

 Documentation/admin-guide/kernel-parameters.txt    |  17 +-
 Documentation/core-api/kernel-api.rst              |   2 +-
 Documentation/core-api/symbol-namespaces.rst       |   4 +-
 Documentation/livepatch/module-elf-format.rst      |  10 +-
 .../it_IT/core-api/symbol-namespaces.rst           |   6 +-
 .../translations/zh_CN/core-api/kernel-api.rst     |   2 +-
 .../zh_CN/core-api/symbol-namespaces.rst           |   2 +-
 MAINTAINERS                                        |   1 +
 init/Kconfig                                       | 293 +--------------------
 kernel/module/Kconfig                              | 293 +++++++++++++++++++++
 kernel/module/decompress.c                         |   8 +-
 kernel/module/internal.h                           |  15 +-
 kernel/module/kallsyms.c                           |  76 ++++--
 kernel/module/main.c                               |  52 ++--
 kernel/module/procfs.c                             |   2 +-
 scripts/module.lds.S                               |   2 +
 16 files changed, 423 insertions(+), 362 deletions(-)
 create mode 100644 kernel/module/Kconfig



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux