[Crash-utility] [PATCH v4 0/4] Improve kernel modules symbol searching performance

Tao Liu ltao at redhat.com
Sat Sep 18 07:59:28 UTC 2021


This patch set improves symbol_search/symbol_exists performance by introducing hash
table for kernel modules symbols.

v3 -> v4:

1) Removed unused variables in function symbol_search/symbol_exists.
2) Replaced 'assert' with syment_is_installed check function.
3) Add Reviewed-by sign for the first 3 patches.

Tao Liu (4):
  Improve the performance of symbol searching for kernel modules
  Get the absolute value of SYMNAME_HASH_INDEX
  Set name_hash_next field to be NULL for the newly installed elements
  Add check if an syment element is installed one more time

 defs.h    |   3 +-
 kernel.c  |   1 +
 symbols.c | 192 ++++++++++++++++++++++++++++++------------------------
 3 files changed, 109 insertions(+), 87 deletions(-)

-- 
2.29.2




More information about the Crash-utility mailing list