aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-04-30 12:29:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-04-30 12:29:36 -0700
commit65c61de9d090edb8a3cfb3f45541e268eb2cdb13 (patch)
treef8298d9571a200b42824929bfd2d679fce162361 /drivers/video
parentMerge tag 'powerpc-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (diff)
parentmodule: treat exit sections the same as init sections when !CONFIG_MODULE_UNLOAD (diff)
downloadlinux-dev-65c61de9d090edb8a3cfb3f45541e268eb2cdb13.tar.xz
linux-dev-65c61de9d090edb8a3cfb3f45541e268eb2cdb13.zip
Merge tag 'modules-for-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
Pull module updates from Jessica Yu: "Fix an age old bug involving jump_calls and static_labels when CONFIG_MODULE_UNLOAD=n. When CONFIG_MODULE_UNLOAD=n, it means you can't unload modules, so normally the __exit sections of a module are not loaded at all. However, dynamic code patching (jump_label, static_call, alternatives) can have sites in __exit sections even if __exit is never executed. Reported by Peter Zijlstra: 'Alternatives, jump_labels and static_call all can have relocations into __exit code. Not loading it at all would be BAD.' Therefore, load the __exit sections even when CONFIG_MODULE_UNLOAD=n, and discard them after init" * tag 'modules-for-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux: module: treat exit sections the same as init sections when !CONFIG_MODULE_UNLOAD
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions