Centos-kernel-stream-9/kernel/module
Viktor Malik 565c35b3f1
module, bpf: Store BTF base pointer in struct module
JIRA: https://issues.redhat.com/browse/RHEL-30774

commit d4e48e3dd45017abdd69a19285d197de897ef44f
Author: Alan Maguire <alan.maguire@oracle.com>
Date:   Thu Jun 20 10:17:29 2024 +0100

    module, bpf: Store BTF base pointer in struct module
    
    ...as this will allow split BTF modules with a base BTF
    representation (rather than the full vmlinux BTF at time of
    BTF encoding) to resolve their references to kernel types in a
    way that is more resilient to small changes in kernel types.
    
    This will allow modules that are not built every time the kernel
    is to provide more resilient BTF, rather than have it invalidated
    every time BTF ids for core kernel types change.
    
    Fields are ordered to avoid holes in struct module.
    
    Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
    Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
    Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
    Acked-by: Andrii Nakryiko <andrii@kernel.org>
    Link: https://lore.kernel.org/bpf/20240620091733.1967885-3-alan.maguire@oracle.com

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2024-11-26 15:55:10 +01:00
..
Kconfig module: add debugging auto-load duplicate module support 2024-06-17 14:17:26 -04:00
Makefile module: add debugging auto-load duplicate module support 2024-06-17 14:17:26 -04:00
debug_kmemleak.c module: Move kmemleak support to a separate file 2024-06-17 14:17:13 -04:00
decompress.c module/decompress: use kvmalloc() consistently 2024-06-17 14:17:29 -04:00
dups.c module: Remove redundant TASK_UNINTERRUPTIBLE 2024-06-17 14:17:29 -04:00
internal.h kbuild: generate KSYMTAB entries by modpost 2024-06-17 14:17:28 -04:00
kallsyms.c modpost, kallsyms: Treat add '$'-prefixed symbols as mapping symbols 2024-06-17 14:17:28 -04:00
kdb.c module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
kmod.c module: add debugging auto-load duplicate module support 2024-06-17 14:17:26 -04:00
livepatch.c module: Move livepatch support to a separate file 2024-06-17 14:17:12 -04:00
main.c module, bpf: Store BTF base pointer in struct module 2024-11-26 15:55:10 +01:00
procfs.c module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
signing.c Subject: revert of revert KEYS: Make use of platform keyring for module signature verify 2024-06-17 14:17:30 -04:00
stats.c module: Fix comment typo 2024-06-17 14:17:29 -04:00
strict_rwx.c module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
sysfs.c module: Annotate struct module_notes_attrs with __counted_by 2024-06-17 14:17:29 -04:00
tracking.c module: add debug stats to help identify memory pressure 2024-06-17 14:17:25 -04:00
tree_lookup.c module: replace module_layout with module_memory 2024-06-17 14:17:22 -04:00
version.c kbuild: link symbol CRCs at final link, removing CONFIG_MODULE_REL_CRCS 2024-06-17 14:17:17 -04:00