[PATCH next 0/2] kallsyms: optimise symbol search by name

From: David Laight

Date: Wed Sep 30 2026 - 09:55:23 EST


Patch 1 is from Jim Crome, included so the patch series builds.
This is currently in mm-nonmm-unstable

Patch 2 Removes the linear scan from the 'search by name' binary bisect.
Data size unchanged for 'sane' kernels.

Seems to work (I'm running it on this system), but I haven't got any performance
numbers.

David Laight (1):
kallsyms: Optimise symbol name search

Jim Cromie (1):
kallsyms: Match compressed tokens on the fly during binary search

kernel/kallsyms.c | 171 ++++++++++++++++++++++++-------------
kernel/kallsyms_internal.h | 4 +-
scripts/Makefile | 1 +
scripts/kallsyms.c | 50 ++++++-----
4 files changed, 144 insertions(+), 82 deletions(-)

--
2.39.5