# module loader dead code removal and cleanups v3

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2021-02-02 12:14:58 
- List: live-patching
- Page: https://ratatoskr.run/live-patching/2021/02/6255124
- Thread: https://ratatoskr.run/linuxppc-dev/2021/02/6255124/t.md

```text
Hi all,

this series removes support for long term unused export types and
cleans up various loose ends in the module loader.

Changes since v2:
 - clean up klp_find_object_symbol a bit
 - remove the now unused module_assert_mutex helper 

Changes since v1:
 - move struct symsearch to module.c
 - rework drm to not call find_module at all
 - allow RCU-sched locking for find_module
 - keep find_module as a public API instead of module_loaded
 - update a few comments and commit logs

Diffstat:
```
