mbox series

[v2,0/2] module: Merge same-name module load requests

Message ID 20220919123233.8538-1-petr.pavlu@suse.com (mailing list archive)
Headers show
Series module: Merge same-name module load requests | expand

Message

Petr Pavlu Sept. 19, 2022, 12:32 p.m. UTC
Changes since v1 [1]:
- Change the error returned by a duplicate load when the main insert
  fails from -ENODEV to -EBUSY.
- Change the error returned by a duplicate load when a same-name module
  is going from -EAGAIN to -EBUSY.
- Use a per-shared_load_info completion object to inform waiting loads
  when the main one is done.
- Add a patch to correct wake up of module_wq.

[1] https://lore.kernel.org/linux-modules/20220905084131.14567-1-petr.pavlu@suse.com/

Petr Pavlu (2):
  module: Correct wake up of module_wq
  module: Merge same-name module load requests

 kernel/module/main.c | 214 ++++++++++++++++++++++++++++++-------------
 1 file changed, 150 insertions(+), 64 deletions(-)