• Linus Torvalds's avatar
    Merge tag 'modules-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux · 312dcaf9
    Linus Torvalds authored
    Pull modules updates from Jessica Yu:
     "Summary of modules changes for the 5.11 merge window:
    
       - Fix a race condition between systemd/udev and the module loader.
    
         The module loader was sending a uevent before the module was fully
         initialized (i.e., before its init function has been called). This
         means udev can start processing the module uevent before the module
         has finished initializing, and some udev rules expect that the
         module has initialized already upon receiving the uevent.
    
         This resulted in some systemd mount units failing if udev processes
         the event faster than the module can finish init. This is fixed by
         delaying the uevent until after the module has called its init
         routine.
    
       - Make the linker array sections for kernel params and module version
         attributes more robust by switching to use the alignment of the
         type in question.
    
         Namely, linker s...
    312dcaf9
module.c 119 KB