aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-03-09 17:15:45 +0000
committerSean Christopherson <[email protected]>2024-04-09 17:15:30 +0000
commit4710e4fc3e2afa6c092db2c65eef365b0836d6db (patch)
treee42b40ad24813b85f9e6e3ddd5e623b10ed1c637 /tools/perf/scripts/python/flamegraph.py
parentLinux 6.9-rc3 (diff)
downloadkernel-4710e4fc3e2afa6c092db2c65eef365b0836d6db.tar.gz
kernel-4710e4fc3e2afa6c092db2c65eef365b0836d6db.zip
KVM: SVM: Remove a useless zeroing of allocated memory
Remove KVM's unnecessary zeroing of memory when allocating the pages array in sev_pin_memory() via __vmalloc(), as the array is only used to hold kernel pointers. The kmalloc() path for "small" regions doesn't zero the array, and if KVM leaks state and/or accesses uninitialized data, then the kernel has bigger problems. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/c7619a3d3cbb36463531a7c73ccbde9db587986c.1710004509.git.christophe.jaillet@wanadoo.fr [sean: massage changelog] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions