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

From: Petr Pavlu
Date: Mon Sep 19 2022 - 08:33:20 EST


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@xxxxxxxx/

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(-)

--
2.35.3