aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-08-23 14:34:14 +0800
committerPaolo Bonzini <[email protected]>2022-09-26 12:02:27 -0400
commit5a2a961be2ad6a16eb388a80442443b353c11d16 (patch)
treef15f680752824569aae3098a357956056d099bf2 /tools/perf/scripts/python/netdev-times.py
parentd38ba8ccd9c22b177d50f896a1bdc2f0979b343f (diff)
KVM: fix memoryleak in kvm_init()
When alloc_cpumask_var_node() fails for a certain cpu, there might be some allocated cpumasks for percpu cpu_kick_mask. We should free these cpumasks or memoryleak will occur. Fixes: baff59ccdc65 ("KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except()") Signed-off-by: Miaohe Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions