Merge tag 'modules-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux
Pull modules updates from Luis Chamberlain: "Tux gets for xmas an improvement to the average lookup performance of kallsyms_lookup_name() by 715x thanks to the work by Zhen Lei, which upgraded our old implementation from being O(n) to O(log(n)), while also retaining the old implementation support on /proc/kallsyms. The only penalty was increasing the memory footprint by 3 * kallsyms_num_syms. Folks who want to improve this further now also have a dedicated selftest facility through KALLSYMS_SELFTEST. Stephen Boyd added zstd in-kernel decompression support, but the only users of this would be folks using the load-pin LSM because otherwise we do module decompression in userspace. The only other thing with mentioning is a minor boot time optimization by Rasmus Villemoes which deferes param_sysfs_init() to late init. The rest is cleanups and minor fixes" * tag 'modules-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux: livepatch: Call klp_match_callback() in klp_find_callback() to avoid code duplication module/decompress: Support zstd in-kernel decompression kallsyms: Remove unneeded semicolon kallsyms: Add self-test facility livepatch: Use kallsyms_on_each_match_symbol() to improve performance kallsyms: Add helper kallsyms_on_each_match_symbol() kallsyms: Reduce the memory occupied by kallsyms_seqs_of_names[] kallsyms: Correctly sequence symbols when CONFIG_LTO_CLANG=y kallsyms: Improve the performance of kallsyms_lookup_name() scripts/kallsyms: rename build_initial_tok_table() module: Fix NULL vs IS_ERR checking for module_get_next_page kernel/params.c: defer most of param_sysfs_init() to late_initcall time module: Remove unused macros module_addr_min/max module: remove redundant module_sysfs_initialized variable
Showing
- include/linux/kallsyms.h 9 additions, 0 deletionsinclude/linux/kallsyms.h
- include/linux/module.h 0 additions, 1 deletioninclude/linux/module.h
- init/Kconfig 13 additions, 0 deletionsinit/Kconfig
- kernel/Makefile 1 addition, 0 deletionskernel/Makefile
- kernel/kallsyms.c 104 additions, 12 deletionskernel/kallsyms.c
- kernel/kallsyms_internal.h 1 addition, 0 deletionskernel/kallsyms_internal.h
- kernel/kallsyms_selftest.c 485 additions, 0 deletionskernel/kallsyms_selftest.c
- kernel/kallsyms_selftest.h 13 additions, 0 deletionskernel/kallsyms_selftest.h
- kernel/livepatch/core.c 19 additions, 12 deletionskernel/livepatch/core.c
- kernel/module/Kconfig 2 additions, 1 deletionkernel/module/Kconfig
- kernel/module/decompress.c 94 additions, 6 deletionskernel/module/decompress.c
- kernel/module/main.c 0 additions, 3 deletionskernel/module/main.c
- kernel/module/sysfs.c 1 addition, 1 deletionkernel/module/sysfs.c
- kernel/params.c 19 additions, 4 deletionskernel/params.c
- scripts/kallsyms.c 75 additions, 3 deletionsscripts/kallsyms.c
- scripts/link-vmlinux.sh 4 additions, 0 deletionsscripts/link-vmlinux.sh
Loading
Please register or sign in to comment