diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-08 04:47:22 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-08 09:30:17 -0500 |
| commit | a8749a35c39903120ec421ef2525acc8e0daa55c (patch) | |
| tree | a740fb2b8147430dafef1e70e7c0ebbe4c897f38 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | Merge branch 'kvm-bugfixes' into HEAD (diff) | |
| download | linux-a8749a35c39903120ec421ef2525acc8e0daa55c.tar.gz linux-a8749a35c39903120ec421ef2525acc8e0daa55c.zip | |
mm: vmalloc: introduce array allocation functions
Linux has dozens of occurrences of vmalloc(array_size()) and
vzalloc(array_size()). Allow to simplify the code by providing
vmalloc_array and vcalloc, as well as the underscored variants that let
the caller specify the GFP flags.
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
