diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-05-14 18:27:27 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-05-22 04:34:38 +0300 |
commit | 9990ca35870b7c57d39f8b325d676dfd028035b4 (patch) | |
tree | 2b4e8f770e87f3215648cb6aaaaa6df93ba39a09 /kernel/umh.c | |
parent | dbf7cc2e4e78dfecad02ff17ff5c9971b42da462 (diff) | |
download | linux-9990ca35870b7c57d39f8b325d676dfd028035b4.tar.xz |
modpost: pass section index to find_elf_symbol2()
find_elf_symbol2() converts the section index to the section name,
then compares the two strings in each iteration. This is slow.
It is faster to compare the section indices (i.e. integers) directly.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'kernel/umh.c')
0 files changed, 0 insertions, 0 deletions