lkml.org 
[lkml]   [2021]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[GIT PULL] Modules fixes for v5.13-rc3
Hi Linus,

Please pull for a single modules fix for commit 33121347fb1c ("module:
treat exit sections the same as init sections when !CONFIG_MODULE_UNLOAD").
Details can be found in the signed tag below.

Thanks,

Jessica

---
The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5:

Linux 5.13-rc1 (2021-05-09 14:17:44 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git tags/modules-for-v5.13-rc3

for you to fetch changes up to 055f23b74b20f2824ce33047b4cf2e2aa856bf3b:

module: check for exit sections in layout_sections() instead of module_init_section() (2021-05-17 09:48:24 +0200)

----------------------------------------------------------------
Modules fixes for v5.13-rc3

- When CONFIG_MODULE_UNLOAD=n, module exit sections get sorted into the
init region of the module in order to satisfy the requirements of
jump_labels and static_calls. Previously, the exit section check was
done in module_init_section(), but the solution there is not completely
arch-indepedent as ARM is a special case and supplies its own
module_init_section() function. Instead of pushing this logic further to
the arch-specific code, switch to an arch-independent solution to check
for module exit sections in the core module loader code in
layout_sections() instead.

Signed-off-by: Jessica Yu <jeyu@kernel.org>

----------------------------------------------------------------
Jessica Yu (1):
module: check for exit sections in layout_sections() instead of module_init_section()

kernel/module.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)

\
 
 \ /
  Last update: 2021-05-21 11:16    [W:0.034 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site