summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJunxian Huang <huangjunxian6@hisilicon.com>2025-07-03 19:39:03 +0800
committerLeon Romanovsky <leon@kernel.org>2025-07-07 01:37:35 -0400
commit278c18a4a78a9a6bf529ef45ccde512a5686ea9d (patch)
tree0c4eaf07311a8926cb55c86c6cb1950869cabd9c /tools/perf/scripts/python/task-analyzer.py
parent2c2ec0106c0f1f12d4eefd11de318ac47557a750 (diff)
downloadkernel-278c18a4a78a9a6bf529ef45ccde512a5686ea9d.tar.gz
RDMA/hns: Fix accessing uninitialized resources
hr_dev->pgdir_list and hr_dev->pgdir_mutex won't be initialized if CQ/QP record db are not enabled, but they are also needed when using SRQ with SRQ record db enabled. Simplified the logic by always initailizing the reosurces. Fixes: c9813b0b9992 ("RDMA/hns: Support SRQ record doorbell") Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20250703113905.3597124-5-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
e958'>docs: move x86 documentation into Documentation/arch/Jonathan Corbet 2023-03-16x86/mm: Handle LAM on context switchKirill A. Shutemov 2023-01-25x86/cpu: Use cpu_feature_enabled() when checking global pages supportBorislav Petkov (AMD) 2022-07-19x86/mm/tlb: Ignore f->new_tlb_gen when zeroNadav Amit 2022-06-07x86/mm/tlb: Avoid reading mm_tlb_gen when possibleNadav Amit 2022-04-04x86/mm/tlb: Revert retpoline avoidance approachDave Hansen 2022-03-10task_work: Remove unnecessary include from posix_timers.hEric W. Biederman 2022-01-10Merge tag 'core_entry_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds 2021-12-06x86/mm/64: Flush global TLB on boot and AP bringupJoerg Roedel 2021-12-01x86: Snapshot thread flagsMark Rutland 2021-07-28x86/mm: Prepare for opt-in based L1D flush in switch_mm()Balbir Singh 2021-07-28x86/mm: Refactor cond_ibpb() to support other use casesBalbir Singh 2021-06-17perf/x86: Reset the dirty counter to prevent the leak for an RDPMC taskKan Liang 2021-04-29Merge tag 'x86-mm-2021-04-29' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds 2021-03-18x86: Fix various typos in commentsIngo Molnar 2021-03-06x86/mm/tlb: Remove unnecessary uses of the inline keywordNadav Amit 2021-03-06x86/mm/tlb: Do not make is_lazy dirty for no reasonNadav Amit 2021-03-06x86/mm/tlb: Privatize cpu_tlbstateNadav Amit 2021-03-06x86/mm/tlb: Flush remote and local TLBs concurrentlyNadav Amit 2021-03-06x86/mm/tlb: Open-code on_each_cpu_cond_mask() for tlb_is_not_lazy()Nadav Amit 2021-03-06x86/mm/tlb: Unify flush_tlb_func_local() and flush_tlb_func_remote()Nadav Amit