summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWill Pierce <wgpierce17@gmail.com>2025-04-02 11:14:26 +0300
committerAlexandre Ghiti <alexghiti@rivosinc.com>2025-04-07 11:21:11 +0300
commit8578b2f7e1fb79d4b92b62fbbe913548bb363654 (patch)
tree85916ed14a2a077748ba73a702733b15ea648a63 /tools/perf/scripts/python/export-to-sqlite.py
parent0af2f6be1b4281385b618cb86ad946eded089ac8 (diff)
downloadlinux-8578b2f7e1fb79d4b92b62fbbe913548bb363654.tar.xz
riscv: Use kvmalloc_array on relocation_hashtable
The number of relocations may be a huge value that is unallocatable by kmalloc. Use kvmalloc instead so that it does not fail. Fixes: 8fd6c5142395 ("riscv: Add remaining module relocations") Suggested-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Will Pierce <wgpierce17@gmail.com> Link: https://lore.kernel.org/r/20250402081426.5197-1-wgpierce17@gmail.com Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions