diff options
author | 2022-03-08 04:49:37 -0500 | |
---|---|---|
committer | 2022-03-08 09:30:57 -0500 | |
commit | 37b2a6510a48ca361ced679f92682b7b7d7d0330 (patch) | |
tree | fb2d48b31b583fff946d7472ecfb8d89ad70f7fe /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mm: use vmalloc_array and vcalloc for array allocations (diff) | |
download | linux-dev-37b2a6510a48ca361ced679f92682b7b7d7d0330.tar.xz linux-dev-37b2a6510a48ca361ced679f92682b7b7d7d0330.zip |
KVM: use __vcalloc for very large allocations
Allocations whose size is related to the memslot size can be arbitrarily
large. Do not use kvzalloc/kvcalloc, as those are limited to "not crazy"
sizes that fit in 32 bits.
Cc: stable@vger.kernel.org
Fixes: 7661809d493b ("mm: don't allow oversized kvmalloc() calls")
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions