[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YKd6HcDP7aP0s366@p200300cbcf361a0029e37a38368d6727.dip0.t-ipconnect.de>
Date: Fri, 21 May 2021 11:15:09 +0200
From: Jessica Yu <jeyu@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org
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@...nel.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(-)
Powered by blists - more mailing lists